Michael Schurter
de08ae8083
test: add allocrunner test for poststart hooks
2020-08-12 09:54:14 -07:00
Jasmine Dahilig
e8ed6851e2
lifecycle: add allocrunner and task hook coordinator unit tests
2020-07-29 12:39:42 -07:00
Mahmood Ali
7f460d2706
allocrunner: terminate sidecars in the end
...
This fixes a bug where a batch allocation fails to complete if it has
sidecars.
If the only remaining running tasks in an allocations are sidecars - we
must kill them and mark the allocation as complete.
2020-06-29 15:12:15 -04:00
Jasmine Dahilig
56e0b8e933
refactor TaskHookCoordinator tests to use mock package and add failed init and sidecar test cases
2020-03-21 17:52:56 -04:00
Jasmine Dahilig
d54a83afee
fix linting errors
2020-03-21 17:52:53 -04:00
Jasmine Dahilig
3d1ffb9337
add task hook coordinator many init tasks test case
2020-03-21 17:52:53 -04:00
Jasmine Dahilig
80f0256cb4
refactor task hook coordinator helper method and tests
2020-03-21 17:52:53 -04:00
Jasmine Dahilig
c27223207c
update task hook coordinator tests
2020-03-21 17:52:46 -04:00
Jasmine Dahilig
12393f90e7
add test for lifecycle coordinator
2020-03-21 17:52:42 -04:00
Mahmood Ali
d7354b8920
Add a coordinator for alloc runners
2020-03-21 17:52:38 -04:00