Skip to content

Commit

Permalink
e2e: fix gomega assertion that breaks Eventually semantics (#412)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
  • Loading branch information
joelanford committed Sep 14, 2023
1 parent 21dbd8d commit 3646392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var _ = AfterSuite(func() {
Expect(c.Delete(ctx, operatorCatalog)).To(Succeed())
Eventually(func(g Gomega) {
err := c.Get(ctx, types.NamespacedName{Name: operatorCatalog.Name}, &catalogd.Catalog{})
Expect(errors.IsNotFound(err)).To(BeTrue())
g.Expect(errors.IsNotFound(err)).To(BeTrue())
}).Should(Succeed())

// speed up delete without waiting for gc
Expand Down

0 comments on commit 3646392

Please sign in to comment.