diff --git a/dev-requirements.txt b/dev-requirements.txt index c6a232c45..892172417 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,5 @@ pytest==8.3.5 +pytest-rerunfailures==15.0 flake8==7.2.0 black==25.1.0 mypy==1.15.0 diff --git a/tests/test_python.py b/tests/test_python.py index 3a1affd38..5535b9603 100644 --- a/tests/test_python.py +++ b/tests/test_python.py @@ -161,6 +161,7 @@ def test_python_matrix( assert profile.app_metadata["sys_maxunicode"] is None +@pytest.mark.flaky(reruns=3, reruns_delay=2) @pytest.mark.parametrize("in_container", [True]) @pytest.mark.parametrize("profiler_type", ["pyperf"]) @pytest.mark.parametrize("insert_dso_name", [False, True])