@@ -74,14 +74,14 @@ func TestCompatibility(t *testing.T) {
7474
7575func InstallPreviousVersion (g * GomegaWithT , ns , name , version , selector string ) {
7676 cmd := exec .Command ("helm" , "install" , "--version" , version ,
77- "--namespace" , ns , "--wait" , name , "coherence/coherence-operator" )
77+ "--namespace" , ns , name , "coherence/coherence-operator" )
7878
7979 cmd .Stdout = os .Stdout
8080 cmd .Stderr = os .Stderr
8181 err := cmd .Run ()
8282 g .Expect (err ).NotTo (HaveOccurred ())
8383
84- pods , err := helper .ListPodsWithLabelSelector (testContext , ns , selector )
84+ pods , err := helper .WaitForPodsWithSelector (testContext , ns , selector , time . Second * 10 , time . Minute * 5 )
8585 g .Expect (err ).NotTo (HaveOccurred ())
8686 g .Expect (len (pods )).To (Equal (1 ))
8787}
@@ -99,7 +99,7 @@ func InstallCurrentVersion(g *GomegaWithT, ns, name string) {
9999 err = cmd .Run ()
100100 g .Expect (err ).NotTo (HaveOccurred ())
101101
102- pods , err := helper .ListOperatorPods (testContext , ns )
102+ pods , err := helper .WaitForOperatorPods (testContext , ns , time . Second * 10 , time . Minute * 5 )
103103 g .Expect (err ).NotTo (HaveOccurred ())
104104 g .Expect (len (pods )).To (Equal (1 ))
105105}
0 commit comments