diff --git a/test/extended/operators/operators.go b/test/extended/operators/operators.go index 1cc6f2345a66..c4e0e2202170 100644 --- a/test/extended/operators/operators.go +++ b/test/extended/operators/operators.go @@ -58,6 +58,11 @@ var _ = g.Describe("[Feature:Platform][Smoke] Managed cluster should", func() { cv := objx.Map(obj.UnstructuredContent()) lastErr = nil lastCV = cv + payload := cv.Get("status.desired.payload").String() + if len(payload) == 0 { + e2e.Logf("ClusterVersion has no current payload version") + return false, nil + } if cond := condition(cv, "Progressing"); cond.Get("status").String() != "False" { e2e.Logf("ClusterVersion is still progressing: %s", cond.Get("message").String()) return false, nil