From eaccd9d578beeedd8f66e9abe99da2f661cc81a6 Mon Sep 17 00:00:00 2001 From: Franco Ayala Date: Wed, 26 Oct 2022 17:17:05 -0300 Subject: [PATCH] Fix test_chunking_time (#7101) test_chunking_time: use a bigger file to avoid test fail due to rounding to 0.0 --- src/borg/testsuite/archiver/create_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/testsuite/archiver/create_cmd.py b/src/borg/testsuite/archiver/create_cmd.py index 261921d7f..ef9c63d96 100644 --- a/src/borg/testsuite/archiver/create_cmd.py +++ b/src/borg/testsuite/archiver/create_cmd.py @@ -801,7 +801,7 @@ class ArchiverTestCase(ArchiverTestCaseBase): # Test case set up: create a repository and a file self.cmd(f"--repo={self.repository_location}", "rcreate", RK_ENCRYPTION) - self.create_regular_file("testfile", contents=randbytes(5000000)) + self.create_regular_file("testfile", contents=randbytes(10000000)) # Archive result = self.cmd(f"--repo={self.repository_location}", "create", "--stats", "test_archive", self.input_path) chunking_time = extract_chunking_time(result)