From f6c09edf25a6da0fcdb7c2997dbddfaf90b33e21 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Wed, 16 Nov 2011 16:38:24 -0800 Subject: [PATCH] pause is admin-api, we shouldn't be testing it Change-Id: Ia7b9d2f06aecb67f3e0c2f12687f18e3e386da3f --- exercises/floating_ips.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/exercises/floating_ips.sh b/exercises/floating_ips.sh index 75046d1..ae96e6a 100755 --- a/exercises/floating_ips.sh +++ b/exercises/floating_ips.sh @@ -141,28 +141,6 @@ if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! ping -c1 -w1 $FLOATING_IP; do sle exit 1 fi -# pause the VM and verify we can't ping it anymore -nova pause $NAME - -sleep 2 - -if ( ping -c1 -w1 $IP); then - echo "Pause failure - ping shouldn't work" - exit 1 -fi - -if ( ping -c1 -w1 $FLOATING_IP); then - echo "Pause failure - ping floating ips shouldn't work" - exit 1 -fi - -# unpause the VM and verify we can ping it again -nova unpause $NAME - -sleep 2 - -ping -c1 -w1 $IP - # dis-allow icmp traffic (ping) nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0