Skip to content

Commit

Permalink
Increase temp dir deletion period to 3 days
Browse files Browse the repository at this point in the history
  • Loading branch information
vgerak committed Oct 19, 2020
1 parent f453460 commit 8701fba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/7911.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change `LOCK_TIMEOUT` constant to 3 days (previous value 3 hours) to avoid temporary dir deletion.
2 changes: 1 addition & 1 deletion src/_pytest/pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from _pytest.outcomes import skip
from _pytest.warning_types import PytestWarning

LOCK_TIMEOUT = 60 * 60 * 3
LOCK_TIMEOUT = 60 * 60 * 24 * 3


_AnyPurePath = TypeVar("_AnyPurePath", bound=PurePath)
Expand Down

0 comments on commit 8701fba

Please sign in to comment.