Skip to content

Commit ea97fb6

Browse files
Merge pull request #30988 from xueqzhan/oc-adm-empty-channel
OCPBUGS-82304: Add sleep to give cvo time to reconcile
2 parents 6761284 + a992788 commit ea97fb6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/extended/cli/adm_upgrade/recommend.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ var _ = g.Describe("[Serial][sig-cli] oc adm upgrade recommend", g.Ordered, func
7171
}
7272
restoreChannel = true
7373

74+
time.Sleep(16 * time.Second) // Give the CVO time to reconcile the empty channel and push to status
75+
7476
out, err := oc.Run("adm", "upgrade", "recommend").EnvVar("OC_ENABLE_CMD_UPGRADE_RECOMMEND", "true").EnvVar("OC_ENABLE_CMD_UPGRADE_RECOMMEND_PRECHECK", "true").EnvVar("OC_ENABLE_CMD_UPGRADE_RECOMMEND_ACCEPT", "true").Output()
7577
o.Expect(err).NotTo(o.HaveOccurred())
7678
err = matchRegexp(out, `.*The update channel has not been configured.*`)

0 commit comments

Comments
 (0)