From f232155c2d43e6fc4aa623cd6f3b655c6a454094 Mon Sep 17 00:00:00 2001 From: Fede Alonso Date: Mon, 4 Mar 2024 10:08:02 +0100 Subject: [PATCH] Update ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProfiles.resource Co-authored-by: Jan Stourac --- .../CLI/AcceleratorProfiles/AcceleratorProfiles.resource | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProfiles.resource b/ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProfiles.resource index 94a5e1d91..8fc831905 100644 --- a/ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProfiles.resource +++ b/ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProfiles.resource @@ -87,7 +87,8 @@ Delete All Accelerator Profiles Which Starts With ... value of the OC Accelerator Profile resource ... Uses OC [Arguments] ${ap_prefix} ${ns}=redhat-ods-applications - ${ap_str}= Run oc get acceleratorprofiles -n ${ns} -o json | jq .items[].metadata.name | grep ${ap_prefix} | tr -d '"' + ${ap_str}= Run + ... oc get acceleratorprofiles -n ${ns} -o json | jq .items[].metadata.name | grep ${ap_prefix} | tr -d '"' @{ap_list}= Split String ${ap_str} separator=\n Log List of Accelerator Profiles to be deleted: @{ap_list} console=yes FOR ${ap_name} IN @{ap_list}