From 35c30edf7ae975a1d1206a14dbf1520ba1234215 Mon Sep 17 00:00:00 2001 From: Jonathan Halterman Date: Wed, 20 Nov 2024 07:47:52 -0800 Subject: [PATCH] Ring downscale flaky test fix (#9960) Increase ring heartbeat frequency to try and improve the success rate of downscale tests. --- pkg/ingester/lifecycle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingester/lifecycle_test.go b/pkg/ingester/lifecycle_test.go index 29c59ab61f4..73d4fa714da 100644 --- a/pkg/ingester/lifecycle_test.go +++ b/pkg/ingester/lifecycle_test.go @@ -46,8 +46,8 @@ func defaultIngesterTestConfig(t testing.TB) Config { cfg.IngesterRing.InstanceID = "localhost" cfg.IngesterRing.FinalSleep = 0 cfg.IngesterRing.MinReadyDuration = 100 * time.Millisecond + cfg.IngesterRing.HeartbeatPeriod = defaultHeartbeatPeriod cfg.ActiveSeriesMetrics.Enabled = true - return cfg }