TestConnectTimeoutStuckOnTLSHandshake: allow more time to complete

to avoid random errors in Windows CI
pull/1631/head
Nicola Murino 2023-05-28 20:11:15 +02:00 committed by Jack Christensen
parent fb47e1abbb
commit 28bd5b3843
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ func TestConnectTimeoutStuckOnTLSHandshake(t *testing.T) {
require.True(t, pgconn.Timeout(err), err)
case err = <-serverErrChan:
t.Fatalf("server failed with error: %s", err)
case <-time.After(time.Millisecond * 100):
case <-time.After(time.Millisecond * 500):
t.Fatal("exceeded connection timeout without erroring out")
}
})