From: Guillaume Abrioux Date: Tue, 26 Jun 2018 11:42:27 +0000 (+0200) Subject: tests: reduce the amount of time we wait X-Git-Tag: v3.1.0rc10~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fae6e6e02f94fac2f2dbcd2baf694175e78bae0e;p=ceph-ansible.git tests: reduce the amount of time we wait This sleep 120 looks a bit long, let's reduce this to 30sec and see if things go faster. Signed-off-by: Guillaume Abrioux (cherry picked from commit 081600842ff3758910109d9f636b54cb12a85ed9) --- diff --git a/tox.ini b/tox.ini index 25b2f11a1..25bb4422b 100644 --- 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