From: Guillaume Abrioux Date: Wed, 4 Oct 2017 14:51:32 +0000 (+0200) Subject: tests: increase number of threads for testinfra X-Git-Tag: v3.0.0rc16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0fd3aae792ca49de5b9c134de56f55d50037ab0;p=ceph-ansible.git tests: increase number of threads for testinfra from 4 to 8 to make testing faster. Signed-off-by: Guillaume Abrioux --- diff --git a/tox.ini b/tox.ini index a220235ea..7a10920bc 100644 --- a/tox.ini +++ b/tox.ini @@ -220,7 +220,7 @@ commands= # wait 5 minutes for services to be ready sleep 300 # test cluster state using ceph-ansible tests - testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests + testinfra -n 8 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests # reboot all vms vagrant reload --no-provision @@ -228,7 +228,7 @@ commands= # wait 5 minutes for services to be ready sleep 300 # retest to ensure cluster came back up correctly after rebooting - testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests + testinfra -n 8 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/tests/functional/tests # handlers/idempotency test ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} \