tests: remove sleep commands from tox ini files

Since we use the rerun plugin in tox, we shouldn't need to add these
`sleep` commands.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e835c77a0e)
pull/6365/head
Guillaume Abrioux 2020-09-30 17:59:39 +02:00
parent 802705ff9b
commit dbd53a2ef2
5 changed files with 0 additions and 15 deletions

View File

@ -8,7 +8,6 @@ whitelist_externals =
vagrant
bash
pip
sleep
rm
passenv=*
sitepackages=True

View File

@ -8,7 +8,6 @@ whitelist_externals =
vagrant
bash
pip
sleep
rm
passenv=*
sitepackages=True

View File

@ -8,7 +8,6 @@ whitelist_externals =
vagrant
bash
pip
sleep
rm
passenv=*
sitepackages=True
@ -47,16 +46,12 @@ commands=
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
"
# wait 30sec for services to be ready
sleep 30
# test cluster state using ceph-ansible tests
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
# wait 30sec for services to be ready
# reboot all vms
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/reboot.yml
# wait 30sec for services to be ready
# retest to ensure cluster came back up correctly after rebooting
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

View File

@ -48,7 +48,6 @@ commands=
whitelist_externals =
vagrant
bash
sleep
passenv=*
sitepackages=False
setenv=
@ -98,8 +97,6 @@ commands=
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
"
# wait 30sec for services to be ready
sleep 30
# test cluster state using ceph-ansible tests
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

View File

@ -314,7 +314,6 @@ whitelist_externals =
vagrant
bash
pip
sleep
rm
passenv=*
sitepackages=False
@ -403,16 +402,12 @@ commands=
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
"
# wait 30sec for services to be ready
sleep 30
# test cluster state using ceph-ansible tests
py.test --reruns 20 --reruns-delay 3 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests
# reboot all vms
all_daemons,collocation: ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/reboot.yml
# wait 30sec for services to be ready
sleep 30
# retest to ensure cluster came back up correctly after rebooting
all_daemons,collocation: py.test --reruns 20 --reruns-delay 3 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests