test/extended/prometheus/prometheus.go: Fail tests if Prometheus cannot
be located on the cluster
@@ -44,7 +44,7 @@ var _ = g.Describe("[Feature:Prometheus][Late] Alerts", func() {
var ok bool
url, bearerToken, ok = locatePrometheus(oc)
if !ok {
- e2e.Skipf("Prometheus could not be located on this cluster, skipping prometheus test")
+ e2e.Failf("Prometheus could not be located on this cluster, failing prometheus test")
}
})
g.It("shouldn't report any alerts in firing state apart from Watchdog and AlertmanagerReceiversNotConfigured", func() {
