From: garciadeblas Date: Thu, 19 Nov 2020 15:19:48 +0000 (+0000) Subject: Improved log for k8s cluster creation and checking X-Git-Tag: release-v9.0-start~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=661ba4f167f7c68eeb87cb97ae254a0034a48dbb;p=osm%2Ftests.git Improved log for k8s cluster creation and checking Change-Id: Ibdd337341013de966bbd985100c558124faa6ca0 Signed-off-by: garciadeblas --- diff --git a/robot-systest/lib/k8scluster_lib.robot b/robot-systest/lib/k8scluster_lib.robot index 5dd43ac..429abda 100644 --- a/robot-systest/lib/k8scluster_lib.robot +++ b/robot-systest/lib/k8scluster_lib.robot @@ -62,6 +62,8 @@ Check For K8s Cluster To Be Ready Check For K8s Cluster To Be Enabled [Arguments] ${k8scluster_name} + ${rc2} ${stdout2}= Run and Return RC and Output osm k8scluster-show ${k8scluster_name} + log ${stdout2} ${rc} ${stdout}= Run and Return RC and Output osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" log ${stdout} ${rc} ${stdout}= Run and Return RC and Output echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name}