Skip to content

Commit

Permalink
K8SPG-651: wait longer for migration-backup-s3-pgbackrest-restore
Browse files Browse the repository at this point in the history
  • Loading branch information
eleo007 committed Feb 13, 2025
1 parent 7d21413 commit 2632067
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion e2e-tests/tests/migration-backup-s3/09-deploy-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ commands:
' - |
kubectl -n $NAMESPACE apply -f -
sleep 5
wait_time=20
retry=0
until [[ $(kubectl get job -n $NAMESPACE | grep 'migration-backup-s3-pgbackrest-restore') ]]; do
sleep 1
let retry+=1
if [[ $retry -ge $wait_time ]]; then
exit 1
fi
done
kubectl -n $NAMESPACE wait --for=condition=Complete job/migration-backup-s3-pgbackrest-restore --timeout=360s
timeout: 300

0 comments on commit 2632067

Please sign in to comment.