Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
timeout_func_only makes pytest-rerunfailures work with pytest-timeout,
but it only works with default timeout_method.

See pytest-rerunfailures issue for details:
pytest-dev/pytest-rerunfailures#99
  • Loading branch information
link2xt committed Feb 8, 2022
1 parent 196075c commit 6c6d47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ addopts = -v -ra --strict-markers
norecursedirs = .tox
xfail_strict=true
timeout = 90
timeout_method = thread
timeout_func_only = True
markers =
ignored: ignore this test in default test runs, use --ignored to run.

Expand Down

0 comments on commit 6c6d47c

Please sign in to comment.