From: aguilarherna Date: Thu, 15 Apr 2021 15:42:44 +0000 (+0000) Subject: Fixes bug related to new version of yq X-Git-Tag: branch-sol006v331-start~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=316f7ef1fee3eda5ee8c39c8d63232e562f32421;p=osm%2Ftests.git Fixes bug related to new version of yq Change-Id: Ia4d7cad2dea93ad61dab6893342a885140138c8e Signed-off-by: aguilarherna --- diff --git a/robot-systest/lib/ns_lib.robot b/robot-systest/lib/ns_lib.robot index bc92910..ed6e699 100644 --- a/robot-systest/lib/ns_lib.robot +++ b/robot-systest/lib/ns_lib.robot @@ -267,5 +267,6 @@ Get Vnf Kdu Replica Count ${rc} ${stdout}= Run and Return RC and Output osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Should Be Equal As Integers ${rc} ${success_return_code} msg=${stdout} values=False - [Return] ${stdout} + ${return} = Set Variable If '${stdout}' == 'null' ${EMPTY} ${stdout} + [Return] ${return}