From 73d5012f4064cc039565ea18a3e2fb26cf218557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20S=CC=8Ctibrany=CC=81?= Date: Wed, 25 Mar 2020 12:04:25 +0100 Subject: [PATCH] Start old ingester with old image. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Štibraný --- integration/backward_compatibility_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integration/backward_compatibility_test.go b/integration/backward_compatibility_test.go index 068a639c961..619ff293f7d 100644 --- a/integration/backward_compatibility_test.go +++ b/integration/backward_compatibility_test.go @@ -60,10 +60,8 @@ func runBackwardCompatibilityTestWithChunksStorage(t *testing.T, previousImage s require.NoError(t, tableManager.WaitSumMetrics(e2e.Greater(0), "cortex_table_manager_sync_success_timestamp_seconds")) // Start other Cortex components (ingester running on previous version). - ingester1 := e2ecortex.NewIngester("ingester-1", consul.NetworkHTTPEndpoint(), flagsForOldImage, "") + ingester1 := e2ecortex.NewIngester("ingester-1", consul.NetworkHTTPEndpoint(), flagsForOldImage, previousImage) distributor := e2ecortex.NewDistributor("distributor", consul.NetworkHTTPEndpoint(), flagsForOldImage, "") - // Old ring didn't have /ready probe, use /ring instead. - distributor.SetReadinessProbe(e2e.NewHTTPReadinessProbe(distributor.HTTPPort(), "/ring", 200)) require.NoError(t, s.StartAndWaitReady(distributor, ingester1)) // Wait until the distributor has updated the ring.