Skip to content

Commit

Permalink
Update websocket_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed May 27, 2022
1 parent 93b00e2 commit 2cf37f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/websocket/websocket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1538,8 +1538,8 @@ func TestClientAbort(t *testing.T) {
client.Use(limiter.NewRateLimiter(5000).InvokeHandler)
n := int32(0)
var wg sync.WaitGroup
wg.Add(3000)
for i := 0; i < 3000; i++ {
wg.Add(5000)
for i := 0; i < 5000; i++ {
go func(i int) {
defer wg.Done()
result, err := proxy.Hello(fmt.Sprintf("world %d", i))
Expand Down

0 comments on commit 2cf37f8

Please sign in to comment.