mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 02:08:54 +00:00
testsuite: Corruption test_chunks_archive, adapt for .compact
This commit is contained in:
parent
92a01f9d6c
commit
a75bfae2cf
1 changed files with 1 additions and 1 deletions
|
@ -2934,7 +2934,7 @@ def test_chunks_archive(self):
|
||||||
chunks_archive = os.path.join(self.cache_path, 'chunks.archive.d')
|
chunks_archive = os.path.join(self.cache_path, 'chunks.archive.d')
|
||||||
assert len(os.listdir(chunks_archive)) == 4 # two archives, one chunks cache and one .integrity file each
|
assert len(os.listdir(chunks_archive)) == 4 # two archives, one chunks cache and one .integrity file each
|
||||||
|
|
||||||
self.corrupt(os.path.join(chunks_archive, target_id))
|
self.corrupt(os.path.join(chunks_archive, target_id + '.compact'))
|
||||||
|
|
||||||
# Trigger cache sync by changing the manifest ID in the cache config
|
# Trigger cache sync by changing the manifest ID in the cache config
|
||||||
config_path = os.path.join(self.cache_path, 'config')
|
config_path = os.path.join(self.cache_path, 'config')
|
||||||
|
|
Loading…
Reference in a new issue