9d88f1d568
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. |
||
---|---|---|
.. | ||
batcher.go | ||
deployment_watcher.go | ||
deployments_watcher.go | ||
deployments_watcher_test.go | ||
doc.go | ||
testutil_test.go |