Skip to content

Commit

Permalink
fixed auto forget compactor test
Browse files Browse the repository at this point in the history
Signed-off-by: Essam Eldaly <[email protected]>
  • Loading branch information
eeldaly committed Feb 13, 2025
1 parent 5380175 commit 1093d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compactor/compactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,7 @@ func TestCompactor_RingLifecyclerShouldAutoForgetUnhealthyInstances(t *testing.T

// Wait until a run has completed.
cortex_testutil.Poll(t, 20*time.Second, 1.0, func() interface{} {
return prom_testutil.ToFloat64(compactor.CompactionRunsCompleted)
return prom_testutil.ToFloat64(compactor2.CompactionRunsCompleted)
})

cortex_testutil.Poll(t, 5000*time.Millisecond, true, func() interface{} {
Expand Down

0 comments on commit 1093d6b

Please sign in to comment.