From: Bryan Sullivan Date: Sat, 22 Oct 2016 05:11:03 +0000 (-0700) Subject: Reduce pause time X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F23533%2F1;p=ves.git Reduce pause time JIRA: VES-1 Change-Id: I42fb000dd5189141e7348722df98d52cb1f3c6b2 Signed-off-by: Bryan Sullivan --- diff --git a/tests/vHello_VES.sh b/tests/vHello_VES.sh index e8911e7..1b291d7 100644 --- a/tests/vHello_VES.sh +++ b/tests/vHello_VES.sh @@ -316,10 +316,10 @@ traffic () { } pause () { - echo "$0: $(date) Pause the VNF (web server) in $1 for a minute to generate a state change fault report (Stopped)" + echo "$0: $(date) Pause the VNF (web server) in $1 for 30 seconds to generate a state change fault report (Stopped)" get_vdu_ip $1 ssh -i /tmp/vHello.pem -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$ip "sudo docker pause vHello" - sleep 60 + sleep 20 echo "$0: $(date) Unpausing the VNF to generate a state change fault report (Started)" ssh -i /tmp/vHello.pem -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@$ip "sudo docker unpause vHello" }