mirror of https://github.com/borgbackup/borg.git
modify borg check unit test so it "hangs", see #3444
it doesn't infinitely hang, but slows down considerably.
(cherry picked from commit a68d28bfa4
)
This commit is contained in:
parent
e203b8739b
commit
0abf42f29e
|
@ -3000,7 +3000,7 @@ class ArchiverCheckTestCase(ArchiverTestCaseBase):
|
|||
def test_missing_archive_item_chunk(self):
|
||||
archive, repository = self.open_archive('archive1')
|
||||
with repository:
|
||||
repository.delete(archive.metadata.items[-5])
|
||||
repository.delete(archive.metadata.items[0])
|
||||
repository.commit()
|
||||
self.cmd('check', self.repository_location, exit_code=1)
|
||||
self.cmd('check', '--repair', self.repository_location, exit_code=0)
|
||||
|
|
Loading…
Reference in New Issue