diff options
author | Tomi Juvonen <tomi.juvonen@nokia.com> | 2016-06-20 07:38:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-20 07:38:45 +0000 |
commit | 59fb6475a39de162a8c72d8904a494eabe6d39b4 (patch) | |
tree | bc9410dc5e6b7e3d2de5af2ef47b2a25de178988 | |
parent | 9f57b74905ab38bb0434c0a48b13752870b5b953 (diff) | |
parent | 1b42fe2306b18996f53e5d987d7c5d106a7325f3 (diff) |
Merge "Before deleting the instance, check if the instance exists"
-rwxr-xr-x | tests/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh index d476f33e..56bacca7 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -226,7 +226,7 @@ cleanup() { python ./nova_force_down.py "$COMPUTE_HOST" --unset sleep 1 - nova delete "$VM_NAME" + nova list | grep -q " $VM_NAME " && nova delete "$VM_NAME" sleep 1 alarm_id=$(ceilometer alarm-list | grep " $ALARM_NAME " | awk '{print $2}') sleep 1 |