Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use rerunfailures to retry the flaky vertexing test #1322

Merged
merged 1 commit into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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