Skip to content

Commit

Permalink
Fix flaky TestExpendedPostingsCacheIsolation test (#6395)
Browse files Browse the repository at this point in the history
Signed-off-by: alanprot <[email protected]>
  • Loading branch information
alanprot authored Dec 3, 2024
1 parent 91ff8b4 commit 6ada976
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/ingester/ingester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5134,6 +5134,11 @@ func TestExpendedPostingsCacheIsolation(t *testing.T) {
require.NoError(t, services.StartAndAwaitRunning(context.Background(), i))
defer services.StopAndAwaitTerminated(context.Background(), i) //nolint:errcheck

// Wait until the ingester is ACTIVE
test.Poll(t, 100*time.Millisecond, ring.ACTIVE, func() interface{} {
return i.lifecycler.GetState()
})

numberOfTenants := 100
wg := sync.WaitGroup{}

Expand Down

0 comments on commit 6ada976

Please sign in to comment.