-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Control test
/tmp
disk usage. (#2561)
- Loading branch information
Showing
5 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[pytest] | ||
# This leaves behind the minimum number of prior test run tmp files (just 1 prior run). Setting | ||
# this to 0 appears to just turn culling off (or perhaps it selects the default of 3). Either way, | ||
# we choose 1 as a backstop against our primary line of tmp bloat defense, setting a custom | ||
# `--basetemp` in our test runner script. When this is done, that custom `--basetemp` is always | ||
# nuked in full prior to test start up. | ||
tmp_path_retention_count = 1 | ||
|
||
# N.B.: This does not work with a fair number of our tests under xdist, but it would be good to | ||
# enable. | ||
# tmp_path_retention_policy = failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ def test_zip64_fail_fast(tmpdir): | |
), | ||
): | ||
Zip.load(zip_file) | ||
os.unlink(zip_file) | ||
|
||
|
||
def assert_zipapp( | ||
|