Skip to content

Commit

Permalink
fix run count number
Browse files Browse the repository at this point in the history
Signed-off-by: zhangchao <[email protected]>
  • Loading branch information
Taction committed Aug 14, 2023
1 parent 836feae commit 498b7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/wasm/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func TestEnsureConcurrency(t *testing.T) {
// Wasm is running in goroutine, use wait group to ensure all goroutines are finished
wg := sync.WaitGroup{}
// 100 is enough to trigger concurrency, and wasm should be executed run fast enough to not consuming too much time
for i := 0; i < 5; i++ {
for i := 0; i < 100; i++ {
wg.Add(1)
go func(i int) {
request := &bindings.InvokeRequest{
Expand Down

0 comments on commit 498b7e2

Please sign in to comment.