Skip to content

Commit 5593195

Browse files
wait for catalogsource ready (#2601)
Signed-off-by: akihikokuroda <[email protected]>
1 parent 2ff28d5 commit 5593195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/subscription_e2e_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ var _ = Describe("Subscription", func() {
9595
}
9696

9797
_, teardown = createInternalCatalogSource(ctx.Ctx().KubeClient(), ctx.Ctx().OperatorClient(), "test-catalog", generatedNamespace.GetName(), packages, crds, csvs)
98+
_, err := fetchCatalogSourceOnStatus(ctx.Ctx().OperatorClient(), "test-catalog", generatedNamespace.GetName(), catalogSourceRegistryPodSynced)
99+
Expect(err).NotTo(HaveOccurred())
98100

99101
createSubscriptionForCatalog(ctx.Ctx().OperatorClient(), generatedNamespace.GetName(), "test-subscription", "test-catalog", "root", "channel-root", "", operatorsv1alpha1.ApprovalAutomatic)
100102
})

0 commit comments

Comments
 (0)