From f0fd3aae792ca49de5b9c134de56f55d50037ab0 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 4 Oct 2017 16:51:32 +0200 Subject: [PATCH] tests: increase number of threads for testinfra from 4 to 8 to make testing faster. Signed-off-by: Guillaume Abrioux --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} \ -- 2.39.5