Skip to content

Commit 34314e2

Browse files
authored
Rerun e2e tests in CI due to flakyness (#503)
## Summary <!-- Include a short paragraph of the changes introduced in this PR. If this PR requires additional context or rationale, explain why the changes are necessary. --> The e2e tests fail all of the time in CI due to unpredicable compute time. This PR uses `pytest-rerunfailures` to rerun failing tests up to 3 times. --- - [x] "I certify that all code in this PR is my own, except as noted below." ## Use of AI - [ ] Includes AI-assisted code completion - [ ] Includes code generated by an AI application - [ ] Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes `## WRITTEN BY AI ##`)
2 parents 1012c1e + 4f9a5bc commit 34314e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ jobs:
7474
with:
7575
python-version: ${{ inputs.python }}
7676
tox-env: test-e2e
77-
tox-args: ${{ inputs.args }}
77+
# Rerun e2e tests due to flakyness in CI
78+
tox-args: --reruns=3 ${{ inputs.args }}

0 commit comments

Comments
 (0)