Reduce pause time 33/23533/1
authorBryan Sullivan <bryan.sullivan@att.com>
Sat, 22 Oct 2016 05:11:03 +0000 (22:11 -0700)
committerBryan Sullivan <bryan.sullivan@att.com>
Sat, 22 Oct 2016 05:11:03 +0000 (22:11 -0700)
JIRA: VES-1

Change-Id: I42fb000dd5189141e7348722df98d52cb1f3c6b2
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
tests/vHello_VES.sh

index e8911e7..1b291d7 100644 (file)
@@ -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"
 }