Skip to content

Commit

Permalink
Add wait for running check after cluster creation in self-healing cha…
Browse files Browse the repository at this point in the history
…os tests (#1775)
  • Loading branch information
ptankov authored Jan 8, 2025
1 parent db1f236 commit 44123aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e-tests/self-healing-chaos/run
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ setup_cluster() {
desc "create first PSMDB cluster $cluster"
apply_cluster $conf_dir/$cluster.yml

wait_for_running "$cluster" 3

desc "enable backups"
kubectl_bin patch psmdb some-name --type='merge' -p '{"spec":{"backup":{"enabled":true}}}'

# check if all 3 Pods started
wait_for_running "$cluster" 3

desc 'create user myApp'
Expand Down

0 comments on commit 44123aa

Please sign in to comment.