Skip to content

Commit 5fe6e9e

Browse files
committed
Use wait for pod completion sno-2-bm and 3-nodes
Use the new wait for pod completion in scenarios 3-nodes and sno-2-bm.
1 parent 4c98217 commit 5fe6e9e

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
lines changed

scenarios/3-nodes/test-operator/automation-vars.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ stages:
8585
- >-
8686
oc wait -n openstack tempests.test.openstack.org tempest-tests
8787
--for condition=ServiceConfigReady --timeout=120s
88-
- >-
89-
oc wait -n openstack pod
90-
-l operator=test-operator
91-
-l service=tempest
92-
-l workflowStep=0
93-
--for jsonpath='{.status.phase}'=Succeeded --timeout=60m
88+
wait_pod_completion:
89+
- namespace: openstack
90+
labels:
91+
operator: test-operator
92+
service: tempest
93+
workflowStep: "0"
94+
timeout: 3600
95+
poll_interval: 15

scenarios/sno-2-bm/test-operator/automation-vars.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,18 @@ stages:
363363
- >-
364364
oc wait -n openstack tempests.test.openstack.org tempest-tests
365365
--for condition=ServiceConfigReady --timeout=120s
366-
- >-
367-
oc wait -n openstack pod
368-
-l operator=test-operator
369-
-l service=tempest
370-
-l workflowStep=0
371-
--for jsonpath='{.status.phase}'=Succeeded --timeout=900s
372-
- >-
373-
oc wait -n openstack pod
374-
-l operator=test-operator
375-
-l service=tempest-logs
376-
-l workflowStep=1
377-
--for jsonpath='{.status.phase}'=Succeeded --timeout=900s
366+
wait_pod_completion:
367+
- namespace: openstack
368+
labels:
369+
operator: test-operator
370+
service: tempest
371+
workflowStep: "0"
372+
timeout: 900
373+
poll_interval: 15
374+
- namespace: openstack
375+
labels:
376+
operator: test-operator
377+
service: tempest
378+
workflowStep: "1"
379+
timeout: 900
380+
poll_interval: 15

0 commit comments

Comments
 (0)