Skip to content

Commit

Permalink
wait -> skip
Browse files Browse the repository at this point in the history
  • Loading branch information
titolins committed Sep 24, 2024
1 parent 25cb0a1 commit 5f17809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/alertmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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),
),
Expand Down

0 comments on commit 5f17809

Please sign in to comment.