Skip to content

Commit

Permalink
fix: update range in test (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Mar 7, 2025
1 parent efa12a3 commit d3556fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/state/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ var _ = Describe("Cluster State Sync", func() {
wg.Wait()
ExpectMetricGaugeValue(state.ClusterStateNodesCount, 1000.0, nil)
Expect(cluster.Synced(ctx)).To(BeTrue())
for i := 0; i < 1000; i++ {
for i := range 1000 {
wg.Add(1)
go func(index int) {
defer wg.Done()
Expand Down

0 comments on commit d3556fd

Please sign in to comment.