[Zodb-checkins] CVS: ZODB3/ZEO/tests - winserver.py:1.11.2.4

Tim Peters tim.one at comcast.net
Mon Jul 28 17:35:05 EDT 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv12289/ZEO/tests

Modified Files:
      Tag: ZODB3-3_1-branch
	winserver.py 
Log Message:
ZEOTestServer.handle_accept():  Despite the name, this actually shuts
the server down.  It wasn't cleaning up after itself, though, and the
files it left open caused the client side of some tests to fail on
Windows (can't delete an open file on Windows).  So clean up.


=== ZODB3/ZEO/tests/winserver.py 1.11.2.3 => 1.11.2.4 ===
--- ZODB3/ZEO/tests/winserver.py:1.11.2.3	Fri Jul 25 18:12:35 2003
+++ ZODB3/ZEO/tests/winserver.py	Mon Jul 28 16:34:59 2003
@@ -43,6 +43,7 @@
     def handle_accept(self):
         sock, addr = self.accept()
         self.storage.close()
+        self.storage.cleanup()
         os._exit(0)
 
 def load_storage(name):




More information about the Zodb-checkins mailing list