Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill-Garbar committed Jun 5, 2024
1 parent b7992a4 commit f954006
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ var _ = Describe("etcd-operator", Ordered, func() {
cmd = exec.Command("make", "deploy")
_, err = utils.Run(cmd)
ExpectWithOffset(1, err).NotTo(HaveOccurred())
By("wait while etcd-operator is ready")
cmd = exec.Command("kubectl", "wait", "--namespace",
"etcd-operator-system", "deployment/etcd-operator-controller-manager",
"--for", "condition=Available", "--timeout=5m")
_, err = utils.Run(cmd)
ExpectWithOffset(1, err).NotTo(HaveOccurred())
})

AfterAll(func() {
Expand Down

0 comments on commit f954006

Please sign in to comment.