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:
Julien Pivotto 2020-01-22 11:09:31 +01:00 committed by Brian Brazil
parent 17683d074c
commit 3fbeee07fa

View File

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