Skip to content

Commit 83c3bc8

Browse files
Merge pull request borgbackup#9730 from ThomasWaldmann/reduce-tmp-usage-master
tests: reduce /tmp space usage
2 parents e788eed + 582c358 commit 83c3bc8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/borg/testsuite/archiver/create_cmd_test.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,10 +1080,9 @@ def test_create_big_zeros_files(archivers, request):
10801080

10811081

10821082
def test_create_big_random_files(archivers, request):
1083-
"""Test creating an archive from 10 files with 10MB random data each."""
1083+
"""Test creating an archive with some big files with random data."""
10841084
archiver = request.getfixturevalue(archivers)
1085-
# Create 10 files with 10,000,000 bytes of random data each
1086-
count, size = 10, 10 * 1000 * 1000
1085+
count, size = 5, 5 * 1000 * 1000
10871086
random_data = {}
10881087
for i in range(count):
10891088
data = os.urandom(size)

0 commit comments

Comments
 (0)