Skip to content

Commit

Permalink
ci: Use rerunfailures to retry the flaky vertexing test
Browse files Browse the repository at this point in the history
This test is unfortunately flaky and produces differing output
sometimes. Until we can fix the underlying issue, retry the job.

Example of failure: https://github.com/acts-project/acts/runs/7296836937?check_suite_focus=true
Issue: #1091
  • Loading branch information
paulgessinger committed Jul 12, 2022
1 parent a49ad4e commit 720ee73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Examples/Python/tests/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ pytest
pytest-check
uproot
awkward
pytest-rerunfailures
3 changes: 3 additions & 0 deletions Examples/Python/tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Examples/Python/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand Down

0 comments on commit 720ee73

Please sign in to comment.