open-nomad/nomad/deploymentwatcher
Mahmood Ali 9d88f1d568 tests: deflake deploymentwatcher package
This deflake the tests in the deploymentwatcher package.  The package
uses a mock deployment watcher backend, where the watcher in a
background goroutine calls UpdateDeploymentStatus .  If the mock isn't
configured to expect the call, the background goroutine will fail.  One
UpdateDeploymentStatus call is made at the end of the background
goroutine, which may occur after the test completes, thus explaining the
flakiness.
2020-03-12 15:42:01 -04:00
..
batcher.go
deployment_watcher.go
deployments_watcher.go
deployments_watcher_test.go tests: deflake deploymentwatcher package 2020-03-12 15:42:01 -04:00
doc.go
testutil_test.go tests: deflake deploymentwatcher package 2020-03-12 15:42:01 -04:00