diff --git a/Examples/Python/tests/requirements.in b/Examples/Python/tests/requirements.in index 5080ed06e65..06a308ae561 100644 --- a/Examples/Python/tests/requirements.in +++ b/Examples/Python/tests/requirements.in @@ -2,3 +2,4 @@ pytest pytest-check uproot awkward +pytest-rerunfailures diff --git a/Examples/Python/tests/requirements.txt b/Examples/Python/tests/requirements.txt index db65c8fdb05..c9b74234224 100644 --- a/Examples/Python/tests/requirements.txt +++ b/Examples/Python/tests/requirements.txt @@ -26,8 +26,11 @@ pytest==7.0.1 # via # -r requirements.in # pytest-check + # pytest-rerunfailures pytest-check==1.0.4 # via -r requirements.in +pytest-rerunfailures==10.2 + # via -r requirements.in tomli==2.0.1 # via pytest uproot==4.1.9 diff --git a/Examples/Python/tests/test_examples.py b/Examples/Python/tests/test_examples.py index 6f43a28adc7..f3d603fd7eb 100644 --- a/Examples/Python/tests/test_examples.py +++ b/Examples/Python/tests/test_examples.py @@ -935,6 +935,7 @@ def test_vertex_fitting(tmp_path): ], ) @pytest.mark.filterwarnings("ignore::UserWarning") +@pytest.mark.flaky(reruns=2) def test_vertex_fitting_reading( tmp_path, ptcl_gun, rng, finder, inputTracks, entries, assert_root_hash ):