Skip to content

Commit

Permalink
Merge pull request #1045 from percona/K8SPG-651-migration-backup-s3
Browse files Browse the repository at this point in the history
K8SPG-651: wait longer for migration-backup-s3-pgbackrest-restore
  • Loading branch information
eleo007 authored Feb 14, 2025
2 parents d2210e8 + 2632067 commit fe75e81
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 fe75e81

Please sign in to comment.