File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
testing/chainsaw/e2e/templates Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -4,21 +4,20 @@ metadata:
44 name : replica-backup-complete
55spec :
66 try :
7- -
8- description : >
9- Wait for the replica backup to complete
10- assert :
11- resource :
12- apiVersion : postgres-operator.crunchydata.com/v1beta1
13- kind : PostgresCluster
14- metadata :
15- name : ($cluster)
16- status :
17- pgbackrest :
18- repos :
19- - name : repo1
20- replicaCreateBackupComplete : true
21- stanzaCreated : true
7+ - sleep :
8+ duration : 30s
9+
10+ - description : Wait for initial backup to complete'
11+ wait :
12+ for :
13+ jsonPath :
14+ path : ' {.status.succeeded}'
15+ value : " 1"
16+ timeout : 5m
17+ apiVersion : batch/v1
18+ kind : Job
19+ namespace : ($namespace)
20+ selector : postgres-operator.crunchydata.com/pgbackrest-backup=replica-create
2221 catch :
2322 - describe :
2423 apiVersion : v1
You can’t perform that action at this time.
0 commit comments