open-nomad/testutil
Mahmood Ali b7d421a149 tests: WaitForRunning checks for pending only
WaitForRunning risks a race condition where the allocation succeeds and
completes before WaitForRunning is called (or while it is running).

Here, I made the behavior match the function documentation.

I considered making it stricter, but callers need to account for
allocation terminating immediately after WaitForRunning terminates
anyway.
2019-01-10 15:36:57 -05:00
..
responsewriter.go tests: fix races caused by sharing a buffer 2018-10-16 16:56:55 -07:00
server.go test: build with mock_driver by default 2018-04-18 14:45:33 -07:00
slow.go Skip QEMU graceful shutdown test except on Travis 2018-01-31 15:47:26 -08:00
vault.go add a vault test matrix 2018-09-19 10:18:10 -07:00
wait.go tests: WaitForRunning checks for pending only 2019-01-10 15:36:57 -05:00
wait_test.go nomad: testing remove peer 2015-06-04 13:02:39 +02:00