[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - testZEO.py:1.16.4.4

Jeremy Hylton jeremy@zope.com
Wed, 16 Jan 2002 10:04:14 -0500


Update of /cvs-repository/StandaloneZODB/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25146/tests

Modified Files:
      Tag: Standby-branch
	testZEO.py 
Log Message:
Add a zLOG call during the setUp() for each test.


=== StandaloneZODB/ZEO/tests/testZEO.py 1.16.4.3 => 1.16.4.4 ===
 from ZODB.FileStorage import FileStorage
 import thread
+import zLOG
 
 from ZEO.tests import forker, Cache
 from ZEO.smac import Disconnected
@@ -152,6 +153,7 @@
 
     def setUp(self):
         self.__super_setUp()
+        zLOG.LOG("testZEO", zLOG.BLATHER, "setUp() new test")
         self.running = 1
         client, exit, pid = forker.start_zeo(self.getStorage())
         self._pids = [pid]
@@ -230,7 +232,6 @@
         s.connect(self.test_addr)
         s.close()
         # the connection should cause the storage server to die
-##        os.waitpid(self.test_pid, 0)
         time.sleep(0.5)
         self.delStorage()
         self.__super_tearDown()