X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Frun.sh;h=56bacca700411883a0a1af41bd50320392a996b0;hb=59fb6475a39de162a8c72d8904a494eabe6d39b4;hp=d476f33e03301cb953f1949a6a8021a5908a0527;hpb=9f57b74905ab38bb0434c0a48b13752870b5b953;p=doctor.git 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