Better functest quarantine cleanup
Change-Id: I9218aaeb5fcd21f1bc2a5d655e3216059a209aeb
This commit is contained in:
parent
4851c11600
commit
ede9dad9f6
@ -7982,7 +7982,7 @@ class TestObjectDisconnectCleanup(unittest.TestCase):
|
||||
continue
|
||||
device_path = os.path.join(_testdir, dev)
|
||||
for datadir in os.listdir(device_path):
|
||||
if 'object' not in datadir:
|
||||
if any(p in datadir for p in ('account', 'container')):
|
||||
continue
|
||||
data_path = os.path.join(device_path, datadir)
|
||||
rmtree(data_path, ignore_errors=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user