Commit 2dd88889 authored by Jim Fulton's avatar Jim Fulton

Updated test tear-down logic to clean up zeo cache lock files.

parent d5d7ef22
...@@ -140,7 +140,7 @@ class CommonSetupTearDown(StorageTestBase): ...@@ -140,7 +140,7 @@ class CommonSetupTearDown(StorageTestBase):
os.waitpid(pid, 0) os.waitpid(pid, 0)
for c in self.caches: for c in self.caches:
for i in 0, 1: for i in 0, 1:
for ext in "", ".trace": for ext in "", ".trace", ".lock":
base = "%s-%s.zec%s" % (c, "1", ext) base = "%s-%s.zec%s" % (c, "1", ext)
path = os.path.join(tempfile.tempdir, base) path = os.path.join(tempfile.tempdir, base)
# On Windows before 2.3, we don't have a way to wait for # On Windows before 2.3, we don't have a way to wait for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment