From b0aaa66cf2147afac273145ab6dae631c5856c05 Mon Sep 17 00:00:00 2001 From: Fabricio Aguiar Date: Wed, 27 Mar 2024 16:20:34 +0000 Subject: [PATCH] Update deployment label Depends-On: https://github.com/openstack-k8s-operators/openstack-operator/pull/721 Signed-off-by: Fabricio Aguiar --- tests/roles/dataplane_adoption/tasks/main.yaml | 2 +- tests/roles/dataplane_adoption/tasks/nova_ffu.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/roles/dataplane_adoption/tasks/main.yaml b/tests/roles/dataplane_adoption/tasks/main.yaml index 5a2eef9f1..ade1d7de4 100644 --- a/tests/roles/dataplane_adoption/tasks/main.yaml +++ b/tests/roles/dataplane_adoption/tasks/main.yaml @@ -306,7 +306,7 @@ echo "Deployment is Ready" exit 0 else - failed=$(oc get jobs -l osdpd=$DEPLOYMENT_NAME -o jsonpath="{.items[?(@.status.failed > $ALLOWED_JOB_RETRIES)].metadata.name}") + failed=$(oc get jobs -l openstackdataplanedeployment=$DEPLOYMENT_NAME -o jsonpath="{.items[?(@.status.failed > $ALLOWED_JOB_RETRIES)].metadata.name}") if [ ! -z "${failed}" ]; then echo "There are failed AnsibleEE jobs: $failed" exit 1 diff --git a/tests/roles/dataplane_adoption/tasks/nova_ffu.yaml b/tests/roles/dataplane_adoption/tasks/nova_ffu.yaml index 49800de11..eb080bab4 100644 --- a/tests/roles/dataplane_adoption/tasks/nova_ffu.yaml +++ b/tests/roles/dataplane_adoption/tasks/nova_ffu.yaml @@ -101,7 +101,7 @@ echo "Deployment is Ready" exit 0 else - failed=$(oc get jobs -l osdpd=$DEPLOYMENT_NAME -o jsonpath="{.items[?(@.status.failed > $ALLOWED_JOB_RETRIES)].metadata.name}") + failed=$(oc get jobs -l openstackdataplanedeployment=$DEPLOYMENT_NAME -o jsonpath="{.items[?(@.status.failed > $ALLOWED_JOB_RETRIES)].metadata.name}") if [ ! -z "${failed}" ]; then echo "There are failed AnsibleEE jobs: $failed" exit 1