From 737b5af236326e2d01ae216602e135487bb95bb5 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 17 Jun 2023 19:03:15 -0500 Subject: [PATCH] Allow more time for test on slow CI --- pgxpool/pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgxpool/pool_test.go b/pgxpool/pool_test.go index 24add078..1fd300a6 100644 --- a/pgxpool/pool_test.go +++ b/pgxpool/pool_test.go @@ -1102,7 +1102,7 @@ func TestConnectEagerlyReachesMinPoolSize(t *testing.T) { func TestPoolSendBatchBatchCloseTwice(t *testing.T) { t.Parallel() - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) defer cancel() pool, err := pgxpool.New(ctx, os.Getenv("PGX_TEST_DATABASE"))