Eventually list namespaces for test
@@ -180,8 +180,10 @@ ComponentSettings:
Describe("list "+commandName, func() {
It(fmt.Sprintf("should successfully list all the %ss", commandName), func() {
+ Eventually(func() string {
out := helper.Cmd("odo", "list", commandName).ShouldPass().Out()
- Expect(out).To(ContainSubstring(commonVar.Project))
+ return out
+ }, 10*time.Second, 1*time.Second).Should(ContainSubstring(commonVar.Project))
})
})
}
