]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-volume tests use a reload script in lvm functional tests
authorAlfredo Deza <adeza@redhat.com>
Tue, 27 Mar 2018 13:49:36 +0000 (09:49 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 27 Mar 2018 13:49:36 +0000 (09:49 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini

index 940eb27ed85b581e521be4743474c39006e61c18..9cad6051480cf48133b86bf0fb39ca2cd45c7325 100644 (file)
@@ -58,8 +58,8 @@ commands=
   # test cluster state using ceph-ansible tests
   testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/tests
 
-  # reboot all vms
-  vagrant reload {env:VAGRANT_RELOAD_FLAGS:"--no-provision"}
+  # reboot all vms - attempt
+  bash {toxinidir}/../scripts/vagrant_reload.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
 
   # retest to ensure cluster came back up correctly after rebooting
   testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/tests