diff options
Diffstat (limited to 'deployment/noheat/infra-openstack/vagrant/test/create_network.test')
-rwxr-xr-x | deployment/noheat/infra-openstack/vagrant/test/create_network.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/deployment/noheat/infra-openstack/vagrant/test/create_network.test b/deployment/noheat/infra-openstack/vagrant/test/create_network.test index 7124f707e..d81a12fa6 100755 --- a/deployment/noheat/infra-openstack/vagrant/test/create_network.test +++ b/deployment/noheat/infra-openstack/vagrant/test/create_network.test @@ -5,8 +5,13 @@ export NETWORK_NAME='onap_ci_lab' export VAGRANT_CWD='..' set_up() { - vagrant up --provision-with=run_playbook_destroy - vagrant up --provision-with=run_playbook_create + vagrant up + vagrant provision --provision-with=run_playbook_destroy + vagrant provision --provision-with=run_playbook_create +} + +tear_down() { + vagrant provision --provision-with=run_playbook_destroy } check() { @@ -19,3 +24,4 @@ check() { set_up >/dev/null # drop provisioning output check "$NETWORK_NAME" +tear_down >/dev/null # drop provisioning output |