Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit ebf7c79

Browse files
committed
revert(fix/tests): handle error in goroutines test
This reverts commit 9399253.
1 parent 4235f49 commit ebf7c79

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/misc/goroutines/default_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package db
22

33
import (
44
"context"
5-
"fmt"
65
"testing"
76
"time"
87

@@ -51,10 +50,7 @@ func TestDisconnectConcurrent(t *testing.T) {
5150
case <-closeCh:
5251
loop = false
5352
default:
54-
_, err := client.User.FindUnique(User.ID.Equals(created.ID)).Exec(ctx)
55-
if err != nil {
56-
panic(fmt.Errorf("find unique failed: %w", err))
57-
}
53+
client.User.FindUnique(User.ID.Equals(created.ID)).Exec(ctx)
5854
}
5955
}
6056
}()

0 commit comments

Comments
 (0)