]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tox-podman.ini: add missing reruns option
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 28 Jun 2019 20:07:20 +0000 (16:07 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 2 Jul 2019 13:01:38 +0000 (09:01 -0400)
The first py.test call didn't have the reruns option. The commit
fixes it.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 3f92323f289e29322122d490de83100c8d687a40)

tox-podman.ini

index cac13333076b48e53c57a3c55ec26266da1b7209..a801d54e1721f2466a76785bfd969343791482d1 100644 (file)
@@ -61,7 +61,7 @@ commands=
   # wait 30sec for services to be ready
   sleep 30
   # test cluster state using ceph-ansible tests
-  py.test -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/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