Skip to content

Commit c9febfc

Browse files
committed
parallelize TestContextCancelPrepare
1 parent dfef6a0 commit c9febfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ func TestContextCancelQueryRow(t *testing.T) {
27522752
}
27532753

27542754
func TestContextCancelPrepare(t *testing.T) {
2755-
runTests(t, dsn, func(dbt *DBTest) {
2755+
runTestsParallel(t, dsn, func(dbt *DBTest, _ string) {
27562756
ctx, cancel := context.WithCancel(context.Background())
27572757
cancel()
27582758
if _, err := dbt.db.PrepareContext(ctx, "SELECT 1"); err != context.Canceled {

0 commit comments

Comments
 (0)