mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00: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:
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")
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user