Skip to content

Commit 2adcf1d

Browse files
committed
Changes to compatibility tests
1 parent 9815c31 commit 2adcf1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/compatibility/compatibility_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ func TestCompatibility(t *testing.T) {
7474

7575
func 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

Comments
 (0)