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
slow.go
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