mirror of https://github.com/ceph/ceph-ansible.git
tests: increase number of threads for testinfra
from 4 to 8 to make testing faster. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/1976/head
parent
cdb5023d84
commit
f0fd3aae79
4
tox.ini
4
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} \
|
||||
|
|
Loading…
Reference in New Issue