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 3459d12..b5910f5 100644 (file)
@@ -127,7 +127,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