mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-14 20:13:21 -04:00
tests: reduce /tmp space usage
This commit is contained in:
parent
e788eed0be
commit
582c35823f
1 changed files with 2 additions and 3 deletions
|
|
@ -1080,10 +1080,9 @@ def test_create_big_zeros_files(archivers, request):
|
|||
|
||||
|
||||
def test_create_big_random_files(archivers, request):
|
||||
"""Test creating an archive from 10 files with 10MB random data each."""
|
||||
"""Test creating an archive with some big files with random data."""
|
||||
archiver = request.getfixturevalue(archivers)
|
||||
# Create 10 files with 10,000,000 bytes of random data each
|
||||
count, size = 10, 10 * 1000 * 1000
|
||||
count, size = 5, 5 * 1000 * 1000
|
||||
random_data = {}
|
||||
for i in range(count):
|
||||
data = os.urandom(size)
|
||||
|
|
|
|||
Loading…
Reference in a new issue