]> git.apps.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 13:11:33 +0000 (13:11 +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 2d29a97c7f705bf28e81d8463b8c7d94518888cc..1248d3c1059cbdbcea3ea8ada6747bfe4f848cd6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -291,9 +291,9 @@ commands=
   "
 
   # wait 30sec for services to be ready
-  all_daemons: sleep 30
+  sleep 30
   # test cluster state using ceph-ansible tests
-  all_daemons: py.test -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} {toxinidir}/tests/functional/tests
+  py.test -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} {toxinidir}/tests/functional/tests
 
   # reboot all vms
   all_daemons: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/reboot.yml