Skip to content

Commit ebd507d

Browse files
committed
🦵 limit go routines in test
1 parent 7be7840 commit ebd507d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: utils/common_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func Test_UUID(t *testing.T) {
2929

3030
func Test_UUID_Concurrency(t *testing.T) {
3131
t.Parallel()
32-
iterations := 10000
32+
iterations := 1000
3333
var res string
3434
ch := make(chan string, iterations)
3535
results := make(map[string]string)
@@ -53,7 +53,7 @@ func Test_UUIDv4(t *testing.T) {
5353
}
5454
func Test_UUIDv4_Concurrency(t *testing.T) {
5555
t.Parallel()
56-
iterations := 10000
56+
iterations := 1000
5757
var res string
5858
ch := make(chan string, iterations)
5959
results := make(map[string]string)

0 commit comments

Comments
 (0)