From ede9dad9f6e56831f3068c805cdd61dbb3fac7c0 Mon Sep 17 00:00:00 2001 From: Clay Gerrard Date: Mon, 1 Jun 2020 09:20:59 -0500 Subject: [PATCH] Better functest quarantine cleanup Change-Id: I9218aaeb5fcd21f1bc2a5d655e3216059a209aeb --- test/unit/proxy/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/proxy/test_server.py b/test/unit/proxy/test_server.py index 1d3257e34b..0a4d9de77b 100644 --- a/test/unit/proxy/test_server.py +++ b/test/unit/proxy/test_server.py @@ -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)