]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tox: decrease sleep to 2min instead of 5.
authorSébastien Han <seb@redhat.com>
Sun, 8 Oct 2017 13:56:39 +0000 (15:56 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 9 Oct 2017 15:25:44 +0000 (17:25 +0200)
Signed-off-by: Sébastien Han <seb@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 7a10920bc7001d295a967b315fd4137c129c36f2..187dc853aa9095a4b7a4a6f93d8b72a9e99fec05 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -217,16 +217,16 @@ commands=
 
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/setup.yml
 
-  # wait 5 minutes for services to be ready
-  sleep 300
+  # wait 2 minutes for services to be ready
+  sleep 120
   # 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 5 minutes for services to be ready
-  sleep 300
+  # wait 2 minutes for services to be ready
+  sleep 120
   # 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