We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 218f0d4 commit 56683d9Copy full SHA for 56683d9
test/e2e/install_test.go
@@ -154,8 +154,12 @@ var _ = Describe("Operator Install", func() {
154
PackageName: pkgName,
155
}
156
157
- // Delete the catalog first
+ By("deleting the catalog first")
158
Expect(c.Delete(ctx, operatorCatalog)).To(Succeed())
159
+ Eventually(func(g Gomega) {
160
+ err := c.Get(ctx, types.NamespacedName{Name: operatorCatalog.Name}, &catalogd.Catalog{})
161
+ g.Expect(errors.IsNotFound(err)).To(BeTrue())
162
+ }).Should(Succeed())
163
164
By("creating the Operator resource")
165
Expect(c.Create(ctx, operator)).To(Succeed())
0 commit comments