Skip to content

Commit

Permalink
Fix protoproxy test flakiness (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao authored Oct 15, 2023
1 parent a8ab5b3 commit 102818c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/protoproxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func TestProtoProxy(t *testing.T) {
proxy.Stop()

for i := 0; i < 10; i++ {
if numGoRoutines <= runtime.NumGoroutine() {
if runtime.NumGoroutine() <= numGoRoutines {
break
}
time.Sleep(100 * time.Millisecond)
Expand Down

0 comments on commit 102818c

Please sign in to comment.