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:
Thomas Waldmann 2017-12-16 01:11:40 +01:00
parent e203b8739b
commit 0abf42f29e
1 changed files with 1 additions and 1 deletions

View File

@ -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)