Skip to content

Commit 7bf8413

Browse files
authored
Use pytest-rerunfailures to avoid tmp_path stashkey issues (#5869)
Sadly due to str0zzapreti/pytest-retry#46 having no resolution from upstream.
1 parent 5d0ddff commit 7bf8413

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/integration_app_harness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ jobs:
5656
- name: Run app harness tests
5757
env:
5858
REFLEX_REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
59-
run: uv run pytest tests/integration --retries 3 -v --maxfail=5 --splits 2 --group ${{matrix.split_index}}
59+
run: uv run pytest tests/integration --reruns 3 -v --maxfail=5 --splits 2 --group ${{matrix.split_index}}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dev = [
9090
"pytest-cov",
9191
"pytest-mock",
9292
"pytest-playwright",
93-
"pytest-retry",
93+
"pytest-rerunfailures",
9494
"pytest-split",
9595
"pytest",
9696
"python-dotenv",

uv.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)