We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2210e8 + 2632067 commit fe75e81Copy full SHA for fe75e81
e2e-tests/tests/migration-backup-s3/09-deploy-cluster.yaml
@@ -22,6 +22,14 @@ commands:
22
' - |
23
kubectl -n $NAMESPACE apply -f -
24
25
- sleep 5
+ wait_time=20
26
+ retry=0
27
+ until [[ $(kubectl get job -n $NAMESPACE | grep 'migration-backup-s3-pgbackrest-restore') ]]; do
28
+ sleep 1
29
+ let retry+=1
30
+ if [[ $retry -ge $wait_time ]]; then
31
+ exit 1
32
+ fi
33
+ done
34
kubectl -n $NAMESPACE wait --for=condition=Complete job/migration-backup-s3-pgbackrest-restore --timeout=360s
35
timeout: 300
0 commit comments