]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-volume tests add a sleep in tox for slow OSDs after booting
authorAlfredo Deza <adeza@redhat.com>
Tue, 2 Jul 2019 12:34:01 +0000 (08:34 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 2 Jul 2019 12:34:01 +0000 (08:34 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini
src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini

index e4d9e6760b72b23a02f6c3df97a97d2aa4eba53d..6c4a240a9cce6ea179b6ac3266d4155efb4af90c 100644 (file)
@@ -58,6 +58,9 @@ commands=
   # reboot all vms - attempt
   bash {toxinidir}/../scripts/vagrant_reload.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
 
+  # after a reboot, osds may take about 20 seconds to come back up
+  sleep 30
+
   # retest to ensure cluster came back up correctly after rebooting
   py.test -n 4 --sudo -v --connection=ansible --ssh-config={changedir}/vagrant_ssh_config --ansible-inventory={changedir}/hosts {toxinidir}/../tests
 
index c358897314d3c16e9350474fc4ae5761a9234754..ca09298b5e0d97ad876fc070d0bf44deb91404c8 100644 (file)
@@ -62,6 +62,9 @@ commands=
   # reboot all vms - attempt
   bash {toxinidir}/../scripts/vagrant_reload.sh {env:VAGRANT_UP_FLAGS:"--no-provision"} {posargs:--provider=virtualbox}
 
+  # after a reboot, osds may take about 20 seconds to come back up
+  sleep 30
+
   # retest to ensure cluster came back up correctly after rebooting
   py.test -n 4 --sudo -v --connection=ansible --ssh-config={changedir}/vagrant_ssh_config --ansible-inventory={changedir}/hosts {toxinidir}/../tests