From ee2f8fc66037262c9931d45a5a8d23a32472e0ff Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 26 Jun 2018 13:42:27 +0200 Subject: [PATCH] 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) --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 59ed0e1d6..961d66d99 100644 --- 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 -- 2.39.5