]> git.apps.os.sepia.ceph.com Git - ceph.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 17:37:44 +0000 (13:37 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a54f5037861063d985b8ac1d158b919f119637b2)

src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini

index 7d4afeccdd5b13248cbc8f7ba3f132062919a6f1..429b467f463c2138ab6a26f93b9c4e8faee4280d 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 --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