Skip to content

Commit

Permalink
Fix Waiting the check goroutine finish
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Qiu <[email protected]>
  • Loading branch information
wenqiq committed Mar 21, 2024
1 parent 4da5230 commit aa3ae52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/performance/framework/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func ScaleService(ctx context.Context, ch chan time.Duration, data *ScaleData) (
defer func() {
res.err = err
for {
if len(ch) == cap(svcs) {
if len(ch) == len(svcs) {
break
}
klog.InfoS("Waiting the check goroutine finish")
Expand Down

0 comments on commit aa3ae52

Please sign in to comment.