tests: Make dark data probe tests pass with sync_method = ssync

Change-Id: Ic94761e435d85a7fe4bd17a7d341b1655b98b3ff
This commit is contained in:
Tim Burke 2023-05-17 12:00:49 -07:00
parent a0c5ac29a1
commit 66e6ee6241

View File

@ -95,7 +95,8 @@ class TestDarkDataDeletion(ReplProbeTest):
self.device_dir(node),
get_policy_string('objects', self.policy))):
for file in files:
if file in ('.lock', 'hashes.pkl', 'hashes.invalid'):
if file in ('.lock', 'hashes.pkl', 'hashes.invalid',
'.lock-replication'):
continue
_, ext = os.path.splitext(file)
result[ext].add(os.path.join(path, file))