Merge pull request #1080 from prometheus/query-timeout-test
promql: Bump sleep in query timeout test
This commit is contained in:
commit
fa793d917e
|
@ -70,7 +70,7 @@ func TestQueryTimeout(t *testing.T) {
|
||||||
defer engine.Stop()
|
defer engine.Stop()
|
||||||
|
|
||||||
query := engine.newTestQuery(func(ctx context.Context) error {
|
query := engine.newTestQuery(func(ctx context.Context) error {
|
||||||
time.Sleep(10 * time.Millisecond)
|
time.Sleep(50 * time.Millisecond)
|
||||||
return contextDone(ctx, "test statement execution")
|
return contextDone(ctx, "test statement execution")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue