tests: reduce /tmp space usage

This commit is contained in:
Thomas Waldmann 2026-06-07 20:56:22 +02:00
parent e788eed0be
commit 582c35823f
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -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)