Skip to content

Commit 5cacdee

Browse files
author
jiangdong
committed
fix unittest case
Signed-off-by: jiangdong <[email protected]>
1 parent 3d6b16f commit 5cacdee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/internal/controller/controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ var _ = Describe("controller", func() {
636636

637637
By("Calling startEventSourcesAndQueueLocked multiple times in parallel")
638638
var wg sync.WaitGroup
639-
for i := 1; i <= 5; i++ {
639+
for range 5 {
640640
wg.Go(func() {
641641
err := ctrl.startEventSourcesAndQueueLocked(ctx)
642642
// All calls should return the same nil error

0 commit comments

Comments
 (0)