Browse Source

Merge pull request #1080 from prometheus/query-timeout-test

promql: Bump sleep in query timeout test
pull/1084/head
Brian Brazil 9 years ago
parent
commit
fa793d917e
  1. 2
      promql/engine_test.go

2
promql/engine_test.go

@ -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")
})

Loading…
Cancel
Save