mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
Merge pull request #9730 from ThomasWaldmann/reduce-tmp-usage-master
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OmniOS, false, omnios, r151056) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.8) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
Some checks are pending
Lint / lint (push) Waiting to run
CI / lint (push) Waiting to run
CI / security (push) Waiting to run
CI / asan_ubsan (push) Blocked by required conditions
CI / native_tests (push) Blocked by required conditions
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Blocked by required conditions
CI / vm_tests (OmniOS, false, omnios, r151056) (push) Blocked by required conditions
CI / vm_tests (OpenBSD, false, openbsd, 7.8) (push) Blocked by required conditions
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Blocked by required conditions
CI / windows_tests (push) Blocked by required conditions
CodeQL / Analyze (push) Waiting to run
tests: reduce /tmp space usage
This commit is contained in:
commit
83c3bc8a67
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