]> 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)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 27 Jun 2018 10:13:26 +0000 (10:13 +0000)
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>
tox.ini

diff --git a/tox.ini b/tox.ini
index b4e2fc0ddc06f4be5d351b83141ce45f3bfda0fd..b5859dacf3fa88f8d66788fb93e685e79ee92aaa 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -229,16 +229,16 @@ commands=
       copy_admin_key={env:COPY_ADMIN_KEY:False} \
   "
 
-  # 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
   ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/reboot.yml
 
-  # 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