Skip to content

Commit f6c09ed

Browse files
vishvanandajeblair
authored andcommitted
pause is admin-api, we shouldn't be testing it
Change-Id: Ia7b9d2f06aecb67f3e0c2f12687f18e3e386da3f
1 parent a208dcc commit f6c09ed

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

exercises/floating_ips.sh

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -141,28 +141,6 @@ if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! ping -c1 -w1 $FLOATING_IP; do sle
141141
exit 1
142142
fi
143143

144-
# pause the VM and verify we can't ping it anymore
145-
nova pause $NAME
146-
147-
sleep 2
148-
149-
if ( ping -c1 -w1 $IP); then
150-
echo "Pause failure - ping shouldn't work"
151-
exit 1
152-
fi
153-
154-
if ( ping -c1 -w1 $FLOATING_IP); then
155-
echo "Pause failure - ping floating ips shouldn't work"
156-
exit 1
157-
fi
158-
159-
# unpause the VM and verify we can ping it again
160-
nova unpause $NAME
161-
162-
sleep 2
163-
164-
ping -c1 -w1 $IP
165-
166144
# dis-allow icmp traffic (ping)
167145
nova secgroup-delete-rule $SECGROUP icmp -1 -1 0.0.0.0/0
168146

0 commit comments

Comments
 (0)