mirror of https://github.com/borgbackup/borg.git
Fix test_chunking_time (#7101)
test_chunking_time: use a bigger file to avoid test fail due to rounding to 0.0
This commit is contained in:
parent
54ec166219
commit
eaccd9d578
|
@ -801,7 +801,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
||||||
|
|
||||||
# Test case set up: create a repository and a file
|
# Test case set up: create a repository and a file
|
||||||
self.cmd(f"--repo={self.repository_location}", "rcreate", RK_ENCRYPTION)
|
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
|
# Archive
|
||||||
result = self.cmd(f"--repo={self.repository_location}", "create", "--stats", "test_archive", self.input_path)
|
result = self.cmd(f"--repo={self.repository_location}", "create", "--stats", "test_archive", self.input_path)
|
||||||
chunking_time = extract_chunking_time(result)
|
chunking_time = extract_chunking_time(result)
|
||||||
|
|
Loading…
Reference in New Issue