[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - testZEO.py:1.9.2.5
Jeremy Hylton
jeremy@zope.com
Thu, 25 Oct 2001 20:37:09 -0400
Update of /cvs-repository/StandaloneZODB/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv1335
Modified Files:
Tag: zeo-1_0-branch
testZEO.py
Log Message:
Make min_disconnect_poll smaller.
Windows only: close the socket used to shutdown the server.
=== StandaloneZODB/ZEO/tests/testZEO.py 1.9.2.4 => 1.9.2.5 ===
forker.start_zeo_server(name, args)
storage = ZEO.ClientStorage.ClientStorage(zeo_addr, debug=1,
- min_disconnect_poll=0.5)
+ min_disconnect_poll=0.1)
self._storage = PackWaitWrapper(storage)
storage.registerDB(DummyDB(), None)
@@ -194,6 +194,7 @@
self._storage.close()
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
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)