Fix stuck when executing a background command via SSH is SA02
[osm/tests.git] / robot-systest / testsuite / sa_02-vnf_with_vim_metrics_and_autoscaling.robot
index e500cb7..e03edba 100644 (file)
@@ -35,7 +35,7 @@ Suite Teardown   Run Keyword And Ignore Error   Suite Cleanup
 ${ns_id}   ${EMPTY}
 ${username}   ubuntu
 ${password}   osm4u
-${vnf_member_index}   1
+${vnf_member_index}   vnf
 ${vnf_ip_addr}   ${EMPTY}
 ${vnf_id}   ${EMPTY}
 ${ns_config}   {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] }
@@ -97,7 +97,7 @@ Get VNF VIM-based Metric Before Auto-scaling
 Increase VIM-based Metric To Force Auto-scaling
 
     Variable Should Exist  ${privatekey}  msg=SSH private key not available
-    Execute Remote Command Check Rc Return Output   ${vnf_ip_addr}   ${username}   ${password}   ${privatekey}   for i in {1..9}; do yes > /dev/null & done
+    Execute Remote Command Check Rc Return Output   ${vnf_ip_addr}   ${username}   ${password}   ${privatekey}   for i in {1..9}; do yes &> /dev/null & done
 
 
 Wait VIM-based Metric To Exceed Threshold