From 83d1b33a9b6351db987b33ed7f7cc786899809d1 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 6 Aug 2020 15:26:24 +0200 Subject: [PATCH] tox: only wait 30sec for right jobs There's no need to call `sleep 30` for other job than `all_daemons` and `all_in_one`. Signed-off-by: Guillaume Abrioux --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 32d6be5f5..c70d73dc2 100644 --- 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