From: romeromonser Date: Wed, 4 Nov 2020 17:50:49 +0000 (+0100) Subject: Modified test [sa-07] forcing webhook to make a 200 OK replay so POL does not hangs X-Git-Tag: release-v9.0-start~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=02454daa68b47818fc9fc7d479b8ef85b51c1603;p=osm%2Ftests.git Modified test [sa-07] forcing webhook to make a 200 OK replay so POL does not hangs Change-Id: I680107a7e880eedf642083d6996263665b3f8eeb Signed-off-by: romeromonser --- diff --git a/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot b/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot index 1881e32..1f92e0d 100644 --- a/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot +++ b/robot-systest/testsuite/sa_07-alarms_from_sa-related_vnfs.robot @@ -75,7 +75,7 @@ Start Webhook Service Variable Should Exist ${privatekey} msg=SSH private key not available Sleep 40 seconds Wait for SSH daemon to be up - ${stdout}= Execute Remote Command Check Rc Return Output ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} nc -lkv '${ws_port}' > '${ws_log_file}' 2>&1 & + ${stdout}= Execute Remote Command Check Rc Return Output ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; test; } | nc -l '${ws_port}'; done > '${ws_log_file}' 2>&1 & Create VNF Descriptor