Skip to content

Commit

Permalink
chore(alerts): tweak the test
Browse files Browse the repository at this point in the history
  • Loading branch information
ibakshay committed Sep 19, 2024
1 parent 89a9e60 commit cfb1c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alerts/charts/templates/tests/test-alerts-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ data:
try "at most 2 times every 5s to get pods named '{{ .Release.Name }}-operator.*' and verify that '.status.phase' is 'running'"
}
@test "Verify that Alertmanager '{{ .Release.Name }}' is Available and Reconciled" {
try "at most 2 times every 5s to get alertmanagers named '{{ .Release.Name }}' and verify that '.status.conditions[0].status' is 'True'"
try "at most 2 times every 5s to get alertmanagers named '{{ .Release.Name }}' and verify that '.status.conditions[1].status' is 'True'"
@test "Verify that Alertmanager is Available and Reconciled" {
try "at most 5 times every 5s to get alertmanagers named '{{ .Release.Name }}' and verify that '.status.conditions[0].status' is 'True'"
try "at most 5 times every 5s to get alertmanagers named '{{ .Release.Name }}' and verify that '.status.conditions[1].status' is 'True'"
}
{{- if .Values.alerts.alertmanager.ingress.enabled }}
Expand Down

0 comments on commit cfb1c61

Please sign in to comment.