diff --git a/promql/engine_test.go b/promql/engine_test.go index 715f08e18..426ce2001 100644 --- a/promql/engine_test.go +++ b/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") })