promql: Bump sleep in query timeout test

This test is flaky, I'm presuming the time.AfterFunc
call is being delayed so the evaluation isn't getting
cancelled.
This commit is contained in:
Brian Brazil 2015-09-14 11:28:27 +01:00
parent 29de4ee2b0
commit ce7f31e03c

View file

@ -70,7 +70,7 @@ func TestQueryTimeout(t *testing.T) {
defer engine.Stop()
query := engine.newTestQuery(func(ctx context.Context) error {
time.Sleep(10 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
return contextDone(ctx, "test statement execution")
})