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 b9507c9 commit 2278569Copy full SHA for 2278569
tests/integration/cmd_namespace_test.go
@@ -180,8 +180,10 @@ ComponentSettings:
180
181
Describe("list "+commandName, func() {
182
It(fmt.Sprintf("should successfully list all the %ss", commandName), func() {
183
- out := helper.Cmd("odo", "list", commandName).ShouldPass().Out()
184
- Expect(out).To(ContainSubstring(commonVar.Project))
+ Eventually(func() string {
+ out := helper.Cmd("odo", "list", commandName).ShouldPass().Out()
185
+ return out
186
+ }, 10*time.Second, 1*time.Second).Should(ContainSubstring(commonVar.Project))
187
})
188
189
}
0 commit comments