projects
/
osm
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd7307
)
Fixes bug related to new version of yq
46/10646/1
author
aguilarherna
<daguilarh@indra.es>
Thu, 15 Apr 2021 15:42:44 +0000
(15:42 +0000)
committer
aguilarherna
<daguilarh@indra.es>
Thu, 15 Apr 2021 15:42:44 +0000
(15:42 +0000)
Change-Id: Ia4d7cad2dea93ad61dab6893342a885140138c8e
Signed-off-by: aguilarherna <daguilarh@indra.es>
robot-systest/lib/ns_lib.robot
patch
|
blob
|
history
diff --git
a/robot-systest/lib/ns_lib.robot
b/robot-systest/lib/ns_lib.robot
index
bc92910
..
ed6e699
100644
(file)
--- 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}