Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
titolins committed Sep 24, 2024
1 parent 3510820 commit 42ec5af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration/alertmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,8 +927,11 @@ func TestAlertmanagerShardingScaling(t *testing.T) {
e2e.Equals(float64(numUsers*expectedReplication)),
"cortex_alertmanager_config_last_reload_successful"))

if expectedSilences > 0 {
expectedSilences *= expectedReplication
}
require.NoError(t, ams.WaitSumMetrics(
e2e.Equals(float64(expectedSilences*expectedReplication)),
e2e.Equals(float64(expectedSilences)),
"cortex_alertmanager_silences"))
}

Expand Down

0 comments on commit 42ec5af

Please sign in to comment.