diff --git a/copy_from_test.go b/copy_from_test.go index 85c0ac2c..e5c4cd82 100644 --- a/copy_from_test.go +++ b/copy_from_test.go @@ -640,7 +640,7 @@ func (fs *slowFailRaceSource) Err() error { func TestConnCopyFromSlowFailRace(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() conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))