[Zodb-checkins] SVN: ZODB/branches/3.8/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 14:05:58 EDT 2008


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

Changed:
  U   ZODB/branches/3.8/src/ZEO/tests/ConnectionTests.py

-=-
Modified: ZODB/branches/3.8/src/ZEO/tests/ConnectionTests.py
===================================================================
--- ZODB/branches/3.8/src/ZEO/tests/ConnectionTests.py	2008-09-05 18:04:15 UTC (rev 90883)
+++ ZODB/branches/3.8/src/ZEO/tests/ConnectionTests.py	2008-09-05 18:05:57 UTC (rev 90884)
@@ -131,7 +131,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