Merge "Small fix for failing networking destroy test"
This commit is contained in:
commit
f6ae9c6884
|
@ -56,8 +56,7 @@ function display_horizon_access_info {
|
|||
function run_openstack_tests {
|
||||
source $1
|
||||
./tools/deploy-test-vms.sh -a create
|
||||
# FIXME(mzawadzki): workaround for some minor error during networking destroy (minor b/c it works manually)
|
||||
./tools/deploy-test-vms.sh -a destroy || true
|
||||
./tools/deploy-test-vms.sh -a destroy
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -x
|
||||
|
||||
# Simple script, which is going to create network, flavor, download cirros
|
||||
# image and launch some VMs. Could be used for test purposes.
|
||||
|
@ -72,7 +72,7 @@ create() {
|
|||
destroy() {
|
||||
for vm in $(openstack server list | awk '/test_vm/ {print $4}'); do
|
||||
echo "Destroying $vm..."
|
||||
openstack server delete $vm
|
||||
openstack server delete --wait $vm
|
||||
done
|
||||
echo "Destroying testnetwork..."
|
||||
openstack network delete testnetwork
|
||||
|
|
Loading…
Reference in New Issue