@@ -2605,7 +2605,7 @@ var _ = Describe("Subscription", func() {
2605
2605
sub , err = fetchSubscription (crc , generatedNamespace .GetName (), subName , subscriptionStateAtLatestChecker ())
2606
2606
Expect (err ).Should (BeNil ())
2607
2607
2608
- By ("waiting for the subscription to have v0.3.0 installed without a bundle deprecated condition " )
2608
+ By ("waiting for the install plan pending to go away " )
2609
2609
sub , err = fetchSubscription (crc , generatedNamespace .GetName (), subName ,
2610
2610
subscriptionHasCondition (
2611
2611
operatorsv1alpha1 .SubscriptionInstallPlanPending ,
@@ -2616,14 +2616,23 @@ var _ = Describe("Subscription", func() {
2616
2616
)
2617
2617
Expect (err ).Should (BeNil ())
2618
2618
2619
+ By ("waiting for the subscription to have v0.3.0 installed without a bundle deprecated condition" )
2620
+ sub , err = fetchSubscription (crc , generatedNamespace .GetName (), subName ,
2621
+ subscriptionHasCondition (
2622
+ operatorsv1alpha1 .SubscriptionBundleDeprecated ,
2623
+ corev1 .ConditionUnknown ,
2624
+ "" ,
2625
+ "" ,
2626
+ ),
2627
+ )
2628
+ Expect (err ).Should (BeNil ())
2629
+
2619
2630
By ("checking for the deprecated conditions" )
2620
2631
By (`Operator is deprecated at only Package and Channel levels` )
2621
2632
packageCondition := sub .Status .GetCondition (operatorsv1alpha1 .SubscriptionPackageDeprecated )
2622
2633
Expect (packageCondition .Status ).To (Equal (corev1 .ConditionTrue ))
2623
2634
channelCondition := sub .Status .GetCondition (operatorsv1alpha1 .SubscriptionChannelDeprecated )
2624
2635
Expect (channelCondition .Status ).To (Equal (corev1 .ConditionTrue ))
2625
- bundleCondition = sub .Status .GetCondition (operatorsv1alpha1 .SubscriptionBundleDeprecated )
2626
- Expect (bundleCondition .Status ).To (Equal (corev1 .ConditionUnknown ))
2627
2636
2628
2637
By ("verifying that a roll-up condition is present not containing bundle deprecation condition" )
2629
2638
By (`Roll-up condition should be present and contain deprecation messages from Package and Channel levels` )
0 commit comments