mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
enable rerun only for a single test
This commit is contained in:
@@ -5,6 +5,7 @@ import pytest
|
|||||||
|
|
||||||
|
|
||||||
class TestGroupStressTests:
|
class TestGroupStressTests:
|
||||||
|
@pytest.mark.flaky(reruns=2)
|
||||||
def test_group_many_members_add_leave_remove(self, acfactory, lp):
|
def test_group_many_members_add_leave_remove(self, acfactory, lp):
|
||||||
accounts = acfactory.get_online_accounts(5)
|
accounts = acfactory.get_online_accounts(5)
|
||||||
acfactory.introduce_each_other(accounts)
|
acfactory.introduce_each_other(accounts)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ envlist =
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
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
|
pip wheel . -w {toxworkdir}/wheelhouse --no-deps
|
||||||
passenv =
|
passenv =
|
||||||
DCC_RS_DEV
|
DCC_RS_DEV
|
||||||
|
|||||||
Reference in New Issue
Block a user