Commit Graph

15 Commits

Author SHA1 Message Date
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Ryan Uber
d924de9bd0 client: obey restart policy when attempts == 0 2016-02-02 14:17:39 -08:00
Chris Hines
dff2460d03 Allow for low precision time.Now on Windows. 2015-12-21 10:43:45 -05:00
Alex Dadgar
95f93396e5 Fix test because of jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar
b46bb0a02d Make NewRestartTracker private 2015-12-18 12:17:54 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
b3f6f1aec3 removing redundant fail() 2015-11-23 10:59:07 -08:00
Diptanu Choudhury
27ad0ad253 Making the restart tracker aware of the exit codes 2015-11-23 10:56:38 -08:00
Diptanu Choudhury
f695f687f8 Refactored test 2015-11-05 17:33:03 -08:00
Diptanu Choudhury
64c1a0b18c Fixed some tests and refactored logic 2015-11-05 17:30:41 -08:00
Diptanu Choudhury
93184d9a45 Incremeneting the counter once we calculate next restart 2015-11-05 17:13:25 -08:00
Diptanu Choudhury
cf76e3a456 Passing restart tracker in the task runner 2015-11-05 16:38:19 -08:00
Diptanu Choudhury
ac6f7eded5 Fixing the test 2015-11-05 15:26:00 -08:00
Diptanu Choudhury
2e168af9d3 Cleaned up the logic to calculate restart duration 2015-11-05 15:16:29 -08:00