From 229d2aaa492eb2f86bd343f93067996bfa9a4895 Mon Sep 17 00:00:00 2001
From: Nicola Murino <nicola.murino@gmail.com>
Date: Wed, 31 May 2023 14:53:04 +0200
Subject: [PATCH] TestConnCopyFromBinary: increase context timeout

---
 pgconn/pgconn_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pgconn/pgconn_test.go b/pgconn/pgconn_test.go
index 4af55ff2..5bd26246 100644
--- a/pgconn/pgconn_test.go
+++ b/pgconn/pgconn_test.go
@@ -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"))