mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +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:
parent
4ac6ee221a
commit
a68d28bfa4
1 changed files with 1 additions and 1 deletions
|
@ -3006,7 +3006,7 @@ def test_missing_file_chunk(self):
|
||||||
def test_missing_archive_item_chunk(self):
|
def test_missing_archive_item_chunk(self):
|
||||||
archive, repository = self.open_archive('archive1')
|
archive, repository = self.open_archive('archive1')
|
||||||
with repository:
|
with repository:
|
||||||
repository.delete(archive.metadata.items[-5])
|
repository.delete(archive.metadata.items[0])
|
||||||
repository.commit()
|
repository.commit()
|
||||||
self.cmd('check', self.repository_location, exit_code=1)
|
self.cmd('check', self.repository_location, exit_code=1)
|
||||||
self.cmd('check', '--repair', self.repository_location, exit_code=0)
|
self.cmd('check', '--repair', self.repository_location, exit_code=0)
|
||||||
|
|
Loading…
Reference in a new issue