]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: increase number of threads for testinfra 1976/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Oct 2017 14:51:32 +0000 (16:51 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Oct 2017 14:51:32 +0000 (16:51 +0200)
from 4 to 8 to make testing faster.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index a220235eae4f3dcf9e766081c8bc2e89e37d0cf5..7a10920bc7001d295a967b315fd4137c129c36f2 100644 (file)
--- 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} \