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 add create and modify timestamps to evaluations (#5881) 2019-08-07 09:50:35 -07:00
deployments_watcher.go deployments_watcher comments 2019-05-22 12:32:08 -04:00
deployments_watcher_test.go tests: deflake deploymentwatcher package 2020-03-12 15:42:01 -04:00
doc.go new deploymentwatcher/doc.go for package level documentation 2019-05-22 12:32:08 -04:00
testutil_test.go tests: deflake deploymentwatcher package 2020-03-12 15:42:01 -04:00