From 5f17809de8620315eb496914ecf72eb3a9e6a9fa Mon Sep 17 00:00:00 2001 From: Tito Lins Date: Tue, 24 Sep 2024 13:26:16 +0200 Subject: [PATCH] wait -> skip --- integration/alertmanager_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/alertmanager_test.go b/integration/alertmanager_test.go index 16b259ea7b2..938bd2d0286 100644 --- a/integration/alertmanager_test.go +++ b/integration/alertmanager_test.go @@ -437,7 +437,7 @@ func TestAlertmanagerStoreAPI(t *testing.T) { require.NoError(t, am.WaitSumMetricsWithOptions(e2e.Equals(1), []string{"cortex_alertmanager_alerts_received_total"}, e2e.WithLabelMatchers(labels.MustNewMatcher(labels.MatchEqual, "user", "user-1")), - e2e.WaitMissingMetrics)) + e2e.SkipMissingMetrics)) err = c.DeleteAlertmanagerConfig(context.Background()) require.NoError(t, err) @@ -566,7 +566,7 @@ func TestAlertmanagerSharding(t *testing.T) { return alertmanagers.WaitSumMetricsWithOptions( e2e.Equals(float64(amount)), []string{"cortex_alertmanager_silences"}, - e2e.WaitMissingMetrics, + e2e.SkipMissingMetrics, e2e.WithLabelMatchers( labels.MustNewMatcher(labels.MatchEqual, "state", state), ),