1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

modify borg check unit test so it "hangs", see #3444

it doesn't infinitely hang, but slows down considerably.
This commit is contained in:
Thomas Waldmann 2017-12-16 01:11:40 +01:00
parent 4ac6ee221a
commit a68d28bfa4

View file

@ -3006,7 +3006,7 @@ def test_missing_file_chunk(self):
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)