[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/ConnectionTests.py Updated test tear-down logic to clean up zeo cache lock files.

Jim Fulton jim at zope.com
Fri Sep 5 10:14:16 EDT 2008


Log message for revision 90872:
  Updated test tear-down logic to clean up zeo cache lock files.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/ConnectionTests.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/ConnectionTests.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/ConnectionTests.py	2008-09-05 12:17:20 UTC (rev 90871)
+++ ZODB/trunk/src/ZEO/tests/ConnectionTests.py	2008-09-05 14:14:16 UTC (rev 90872)
@@ -140,7 +140,7 @@
                 os.waitpid(pid, 0)
         for c in self.caches:
             for i in 0, 1:
-                for ext in "", ".trace":
+                for ext in "", ".trace", ".lock":
                     base = "%s-%s.zec%s" % (c, "1", ext)
                     path = os.path.join(tempfile.tempdir, base)
                     # On Windows before 2.3, we don't have a way to wait for



More information about the Zodb-checkins mailing list