Skip to content

Commit 3646392

Browse files
authored
e2e: fix gomega assertion that breaks Eventually semantics (#412)
Signed-off-by: Joe Lanford <[email protected]>
1 parent 21dbd8d commit 3646392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ var _ = AfterSuite(func() {
9999
Expect(c.Delete(ctx, operatorCatalog)).To(Succeed())
100100
Eventually(func(g Gomega) {
101101
err := c.Get(ctx, types.NamespacedName{Name: operatorCatalog.Name}, &catalogd.Catalog{})
102-
Expect(errors.IsNotFound(err)).To(BeTrue())
102+
g.Expect(errors.IsNotFound(err)).To(BeTrue())
103103
}).Should(Succeed())
104104

105105
// speed up delete without waiting for gc

0 commit comments

Comments
 (0)