Skip to content

Commit 01583d5

Browse files
authored
Fix test (#6537)
Signed-off-by: Daniel Deluiggi <[email protected]>
1 parent 75f10e4 commit 01583d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/ingester/ingester_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6376,6 +6376,8 @@ func TestIngester_UpdateLabelSetMetrics(t *testing.T) {
63766376
i, err := prepareIngesterWithBlocksStorageAndLimits(t, cfg, limits, tenantLimits, blocksDir, reg, false)
63776377
require.NoError(t, err)
63786378
require.NoError(t, services.StartAndAwaitRunning(context.Background(), i))
6379+
defer services.StopAndAwaitTerminated(context.Background(), i) //nolint:errcheck
6380+
63796381
// Wait until it's ACTIVE
63806382
test.Poll(t, time.Second, ring.ACTIVE, func() interface{} {
63816383
return i.lifecycler.GetState()

0 commit comments

Comments
 (0)