From 81f118033942ef8b8c43243baa0b01d27e296e9e Mon Sep 17 00:00:00 2001 From: Anik Bhattacharjee Date: Mon, 5 Feb 2024 11:20:47 -0500 Subject: [PATCH] Reflect BundleUnpacking cond removal in missed e2e test PR #3166 removes the `BundleUnpacking` condition once resolution is successful. PR #3166 [modified an e2e test](https://github.com/operator-framework/operator-lifecycle-manager/commit/54da66a9996632315827ba37e14823de6405b4d9#diff-11f70fc71ac22d725767916f562789de88d06eb9ebe19f337a59fd7035a3ca2dR2448) to reflect that change. However, the test being fixed in this PR is skipped for upstream, and runs only downstream.This PR is a follow up to #3166 to reflect the `BundleUnpacking` condition removal in the remaining test. Signed-off-by: Anik Bhattacharjee --- test/e2e/subscription_e2e_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/subscription_e2e_test.go b/test/e2e/subscription_e2e_test.go index cfc8369110..8e66ced631 100644 --- a/test/e2e/subscription_e2e_test.go +++ b/test/e2e/subscription_e2e_test.go @@ -2806,7 +2806,7 @@ properties: if err != nil { return err } - if cond := fetched.Status.GetCondition(v1alpha1.SubscriptionBundleUnpacking); cond.Status != corev1.ConditionFalse { + if cond := fetched.Status.GetCondition(v1alpha1.SubscriptionBundleUnpacking); cond.Status != corev1.ConditionUnknown { return fmt.Errorf("subscription condition %s has unexpected value %s, expected %s", v1alpha1.SubscriptionBundleUnpacking, cond.Status, corev1.ConditionFalse) } if cond := fetched.Status.GetCondition(v1alpha1.SubscriptionBundleUnpackFailed); cond.Status != corev1.ConditionUnknown {