mirror of
https://github.com/prometheus/prometheus
synced 2026-05-01 07:30:30 +08:00
Fix flaky windows test (#6677)
The windows clock is sometime off by 25ms, and as precise as 15ms. Let's give it more time to avoid flaky tests. Fix #6672 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
committed by
Brian Brazil
parent
17683d074c
commit
3fbeee07fa
@@ -99,7 +99,7 @@ func TestQueryTimeout(t *testing.T) {
|
||||
defer cancelCtx()
|
||||
|
||||
query := engine.newTestQuery(func(ctx context.Context) error {
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
return contextDone(ctx, "test statement execution")
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user