Skip to content

Commit cf46271

Browse files
dinhxuanvuopenshift-cherrypick-robot
authored andcommitted
fix(e2e): Fix subscription manual approval flaky test
The current Subscription manual approve e2e test has an extra Apply code that needs to the InstallPlan being updated twice by accident. This causes the test case to be flaky. Signed-off-by: Vu Dinh <[email protected]>
1 parent 74afb99 commit cf46271

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/e2e/subscription_e2e_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,6 @@ var _ = Describe("Subscription", func() {
249249
return nil
250250
})).Should(Succeed())
251251

252-
_, err = crc.OperatorsV1alpha1().InstallPlans(testNamespace).Update(context.Background(), newInstallPlan, metav1.UpdateOptions{})
253-
require.NoError(GinkgoT(), err)
254-
255252
subscription, err = fetchSubscription(crc, testNamespace, "manual-subscription", subscriptionStateAtLatestChecker)
256253
require.NoError(GinkgoT(), err)
257254
require.NotNil(GinkgoT(), subscription)

0 commit comments

Comments
 (0)