]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: add back testinfra testing
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 4 Apr 2019 02:09:12 +0000 (04:09 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 4 Apr 2019 14:26:58 +0000 (14:26 +0000)
136bfe0 removed testinfra testing on all scenario excepted all_daemons

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8d106c2c58d354e10335ca017fd8df4c427e38a6)

tox.ini

diff --git a/tox.ini b/tox.ini
index 3d0c5a1867a5b8a48d8821194c9187facf294fc9..336db6995498db872140bbc121783da6aa96c443 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -244,9 +244,9 @@ commands=
   "
 
   # wait 30sec for services to be ready
-  all_daemons: sleep 30
+  sleep 30
   # test cluster state using ceph-ansible tests
-  all_daemons: testinfra -n 8 --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
   all_daemons: ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/reboot.yml