]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: reduce the amount of time we wait
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Jun 2018 11:42:27 +0000 (13:42 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 28 Jun 2018 08:42:43 +0000 (10:42 +0200)
This sleep 120 looks a bit long, let's reduce this to 30sec and see if
things go faster.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 081600842ff3758910109d9f636b54cb12a85ed9)

tox.ini

diff --git a/tox.ini b/tox.ini
index 59ed0e1d64b0a530e48ad2496666805ecf736a9a..961d66d99811086a3996745ede48e7e46d439ee1 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -219,16 +219,16 @@ commands=
       ceph_dev_sha1={env:CEPH_DEV_SHA1:latest} \
   "
 
-  # wait 2 minutes for services to be ready
-  sleep 120
+  # wait 30sec for services to be ready
+  sleep 30
   # test cluster state using ceph-ansible tests
   testinfra -n 8 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests
 
   # reboot all vms
   vagrant reload --no-provision
 
-  # wait 2 minutes for services to be ready
-  sleep 120
+  # wait 30sec for services to be ready
+  sleep 30
   # retest to ensure cluster came back up correctly after rebooting
   testinfra -n 8 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests