enable rerun only for a single test

This commit is contained in:
link2xt
2022-06-26 18:23:36 +00:00
parent 13b3933d5c
commit 19f41bd348
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import pytest
class TestGroupStressTests:
@pytest.mark.flaky(reruns=2)
def test_group_many_members_add_leave_remove(self, acfactory, lp):
accounts = acfactory.get_online_accounts(5)
acfactory.introduce_each_other(accounts)

View File

@@ -8,7 +8,7 @@ envlist =
[testenv]
commands =
pytest -n6 --extra-info --reruns 2 --reruns-delay 5 -v -rsXx --ignored --strict-tls {posargs: tests examples}
pytest -n6 --extra-info -v -rsXx --ignored --strict-tls {posargs: tests examples}
pip wheel . -w {toxworkdir}/wheelhouse --no-deps
passenv =
DCC_RS_DEV