]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tox: only wait 30sec for right jobs
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 6 Aug 2020 13:26:24 +0000 (15:26 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 6 Aug 2020 15:22:52 +0000 (17:22 +0200)
There's no need to call `sleep 30` for other job than `all_daemons` and
`all_in_one`.

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

diff --git a/tox.ini b/tox.ini
index 32d6be5f55b3b17c886126e7d8845e4d8ab45766..c70d73dc27893a991a5e6738e51d40403f6900df 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -418,7 +418,7 @@ commands=
   all_daemons: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/reboot.yml
 
   # wait 30sec for services to be ready
-  sleep 30
+  all_daemons,all_in_one: sleep 30
   # retest to ensure cluster came back up correctly after rebooting
   all_daemons: py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests