From 54db10b6015189f07e454412ec68c716f54299a8 Mon Sep 17 00:00:00 2001 From: Tito Lins Date: Tue, 24 Sep 2024 14:01:43 +0200 Subject: [PATCH] fix --- integration/alertmanager_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/alertmanager_test.go b/integration/alertmanager_test.go index a9436587fe9..f9b95b659a8 100644 --- a/integration/alertmanager_test.go +++ b/integration/alertmanager_test.go @@ -927,10 +927,10 @@ func TestAlertmanagerShardingScaling(t *testing.T) { e2e.Equals(float64(numUsers*expectedReplication)), "cortex_alertmanager_config_last_reload_successful")) - require.NoError(t, ams.WaitSumMetrics( + require.NoError(t, ams.WaitSumMetricsWithOptions( e2e.Equals(float64(expectedSilences*expectedReplication)), - e2e.SkipMissingMetrics, - "cortex_alertmanager_silences")) + []string{"cortex_alertmanager_silences"}, + e2e.SkipMissingMetrics)) } // Start up the first instance and use it to create some silences.