TestConnCopyFromBinary: increase context timeout

pull/1631/head
Nicola Murino 2023-05-31 14:53:04 +02:00 committed by Jack Christensen
parent b4314ddaf7
commit 229d2aaa49
1 changed files with 1 additions and 1 deletions

View File

@ -1827,7 +1827,7 @@ func TestConnCopyFrom(t *testing.T) {
func TestConnCopyFromBinary(t *testing.T) {
t.Parallel()
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
defer cancel()
pgConn, err := pgconn.Connect(ctx, os.Getenv("PGX_TEST_DATABASE"))