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 <gabrioux@redhat.com>
pull/5642/head
Guillaume Abrioux 2020-08-06 15:26:24 +02:00
parent a57fd7a090
commit 83d1b33a9b
1 changed files with 1 additions and 1 deletions

View File

@ -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