bc800a18d1
Some tests may chose to deregister jobs to check Nomad cleanup logic, however, it is still possible for the test to fail and exit before this is hit. This therefore adds a cancellable cleanup func which can be deferred, using context to control whether it gets run or not. |
||
---|---|---|
.. | ||
input | ||
doc.go | ||
service_discovery_test.go |