nomad: fix test race

This commit is contained in:
Ryan Uber 2015-09-25 16:07:27 -07:00
parent e24c1c5eb4
commit 747991dc61

View file

@ -132,7 +132,11 @@ func TestEvalEndpoint_Ack(t *testing.T) {
}
func TestEvalEndpoint_Nack(t *testing.T) {
s1 := testServer(t, nil)
s1 := testServer(t, func(c *Config) {
// Disable all of the schedulers so we can manually dequeue
// evals and check the queue status
c.NumSchedulers = 0
})
defer s1.Shutdown()
codec := rpcClient(t, s1)