diff options
Diffstat (limited to 'deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test')
-rwxr-xr-x | deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test b/deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test index 6378776b8..6ac7fdc85 100755 --- a/deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test +++ b/deployment/noheat/infra-openstack/vagrant/test/create_securitygroup.test @@ -5,8 +5,13 @@ export SECURITYGROUP_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 "$SECURITYGROUP_NAME" +tear_down >/dev/null # drop provisioning output |