Skip to content

Commit

Permalink
avoid flaky (#690)
Browse files Browse the repository at this point in the history
Co-authored-by: Praneeth Bajjuri <[email protected]>
  • Loading branch information
pbajjuri20 and Praneeth Bajjuri authored May 16, 2024
1 parent d4497bf commit b6e7fed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/tests/tasks/observability/custom_prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ func TestCustomPrometheus(t *testing.T) {

t.LogStep("Installing custom Prometheus")
installPrometheus(t, customPrometheusNs, meshNamespace, ns.Bookinfo)
retry.UntilSuccess(t, func(t test.TestHelper) {
prometheusPod := pod.MatchingSelector("app.kubernetes.io/name=prometheus-operator", customPrometheusNs)
oc.WaitPodRunning(t, prometheusPod)
})

t.LogStep("Intalling Bookinfo app")
oc.WaitSMCPReady(t, meshNamespace, "basic")
Expand Down

0 comments on commit b6e7fed

Please sign in to comment.