Skip to content

Commit e41d0eb

Browse files
committed
Make the case10 event search more specific
Signed-off-by: mprahl <[email protected]>
1 parent d42f7fc commit e41d0eb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/e2e/case10_error_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,11 @@ var _ = Describe("Test error handling", func() {
317317
Expect(err).Should(BeNil())
318318

319319
By("Checking for the error event")
320-
Eventually(checkForEvent("case10-empty-templates", ""), defaultTimeoutSeconds, 1).Should(BeFalse())
320+
Eventually(
321+
checkForEvent("case10-empty-templates", "Failed to create policy template"),
322+
defaultTimeoutSeconds,
323+
1,
324+
).Should(BeFalse())
321325
})
322326
})
323327

0 commit comments

Comments
 (0)