From 1e9ccdda68fac093fefa4713c34449e7497dfee5 Mon Sep 17 00:00:00 2001 From: Tarun Kumar Date: Wed, 4 Oct 2023 13:27:02 +0530 Subject: [PATCH] fetch management state parameter Signed-off-by: Tarun Kumar --- ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot b/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot index fa0b58e58..a01849b8e 100644 --- a/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot +++ b/ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot @@ -232,7 +232,7 @@ Component Should Not Be Enabled Is Component Enabled [Documentation] Returns the enabled status of a single component (true/false) [Arguments] ${component} ${dsc_name}=default - ${return_code} ${output} = Run And Return Rc And Output oc get datasciencecluster ${dsc_name} -o json | jq '.spec.components.${component}\[]' #robocop:disable + ${return_code} ${output} = Run And Return Rc And Output oc get datasciencecluster ${dsc_name} -o json | jq '.spec.components.${component}.managementState' #robocop:disable Log ${output} Should Be Equal As Integers ${return_code} 0 msg=Error detected while getting component status ${n_output} = Evaluate '${output}' == ''