Skip to content

Commit

Permalink
🦵 limit go routines in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenny committed Nov 30, 2020
1 parent 7be7840 commit ebd507d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Test_UUID(t *testing.T) {

func Test_UUID_Concurrency(t *testing.T) {
t.Parallel()
iterations := 10000
iterations := 1000
var res string
ch := make(chan string, iterations)
results := make(map[string]string)
Expand All @@ -53,7 +53,7 @@ func Test_UUIDv4(t *testing.T) {
}
func Test_UUIDv4_Concurrency(t *testing.T) {
t.Parallel()
iterations := 10000
iterations := 1000
var res string
ch := make(chan string, iterations)
results := make(map[string]string)
Expand Down

0 comments on commit ebd507d

Please sign in to comment.