Skip to content

Commit

Permalink
Fix test_042 for Aborted status
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-zaitsev committed Nov 30, 2023
1 parent ad3d500 commit bb1a5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3944,7 +3944,7 @@ def test_042(self):
)

with Then("Operator should apply changes, and both pods should be created"):
kubectl.wait_chi_status(chi, "Completed", retries=20)
kubectl.wait_chi_status(chi, "Aborted", retries=20)
kubectl.wait_objects(chi, {"statefulset": 2, "pod": 2, "service": 3})

with And("First node is in CrashLoopBackOff"):
Expand Down Expand Up @@ -3973,7 +3973,7 @@ def test_042(self):
)

with Then("Operator should apply changes, and both pods should be created"):
kubectl.wait_chi_status(chi, "Completed", retries=20)
kubectl.wait_chi_status(chi, "Aborted", retries=20)
kubectl.wait_objects(chi, {"statefulset": 2, "pod": 2, "service": 3})

with And("First node is in CrashLoopBackOff"):
Expand Down

0 comments on commit bb1a5db

Please sign in to comment.