Skip to content

Commit

Permalink
Merge pull request #24941 from paulfantom/bz-1829223
Browse files Browse the repository at this point in the history
Bug 1829223: test/extended/prometheus: allow a pending state for AlertmanagerReceiversNotConfigured
  • Loading branch information
openshift-merge-robot committed May 4, 2020
2 parents 6c88aa2 + d7e28ce commit 209bc1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/extended/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ var _ = g.Describe("[sig-instrumentation] Prometheus", func() {
}()

tests := map[string]bool{
// should have constantly firing a watchdog alert
`ALERTS{alertstate="firing",alertname="AlertmanagerReceiversNotConfigured"} == 1`: true,
`ALERTS{alertstate=~"firing|pending",alertname="AlertmanagerReceiversNotConfigured"} == 1`: true,
}
helper.RunQueries(tests, oc, ns, execPod.Name, url, bearerToken)

Expand Down

0 comments on commit 209bc1f

Please sign in to comment.