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 e769f55..e03edba 100644 (file)
@@ -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