File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,7 @@ var _ = Describe("CRD Versions", func() {
114
114
Expect (fetchedInstallPlan .Status .Phase ).To (Equal (operatorsv1alpha1 .InstallPlanPhaseComplete ))
115
115
})
116
116
117
- // issue:https://github.com/operator-framework/operator-lifecycle-manager/issues/2638
118
- It ("[FLAKE] blocks a CRD upgrade that could cause data loss" , func () {
117
+ It ("blocks a CRD upgrade that could cause data loss" , func () {
119
118
By ("checking the storage versions in the existing CRD status and the spec of the new CRD" )
120
119
121
120
mainPackageName := genName ("nginx-update2-" )
@@ -275,7 +274,8 @@ var _ = Describe("CRD Versions", func() {
275
274
By ("Check the error on the installplan - should be related to data loss and the CRD upgrade missing a stored version" )
276
275
Eventually (func () (* operatorsv1alpha1.InstallPlan , error ) {
277
276
return crc .OperatorsV1alpha1 ().InstallPlans (generatedNamespace .GetName ()).Get (context .TODO (), s .Status .InstallPlanRef .Name , metav1.GetOptions {})
278
- }).Should (And (
277
+ // the install plan retry time out is 60 seconds, so we should expect the install plan to be failed within 2 minutes
278
+ }).Within (2 * time .Minute ).Should (And (
279
279
WithTransform (
280
280
func (v * operatorsv1alpha1.InstallPlan ) operatorsv1alpha1.InstallPlanPhase {
281
281
return v .Status .Phase
You can’t perform that action at this time.
0 commit comments