2
0

Allow more time for test on slow CI

This commit is contained in:
Jack Christensen
2023-06-17 19:03:15 -05:00
parent f20070650f
commit 737b5af236
+1 -1
View File
@@ -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"))