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 9fcd561 commit 6f0283fCopy full SHA for 6f0283f
pkg/manager/manager_test.go
@@ -1092,9 +1092,14 @@ var _ = Describe("manger.Manager", func() {
1092
msg := "controller log message"
1093
m.GetControllerOptions().Logger.Info(msg)
1094
1095
- Expect(messages).To(ContainElement(
1096
- ContainSubstring(msg),
1097
- ))
+ Eventually(func(g Gomega) {
+ lock.Lock()
+ defer lock.Unlock()
1098
+
1099
+ g.Expect(messages).To(ContainElement(
1100
+ ContainSubstring(msg),
1101
+ ))
1102
+ }).Should(Succeed())
1103
})
1104
1105
It("should return both runnables and stop errors when both error", func() {
0 commit comments