[Zope-Checkins] CVS: ZODB3/ZEO/tests - zeoserver.py:126.96.36.199
jeremy at zope.com
Wed Sep 17 12:30:11 EDT 2003
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25541
Boost the suicide timeout to 330.
I've seen the tests fail after 300 seconds, but before the clients
give up. It takes the clients a little while to get started, so the
server's was timing out before clients. This caused all sorts of
ClientDisconnected errors in test output. Add 30 seconds slop to the
server in hopes that the clients will give up first.
=== ZODB3/ZEO/tests/zeoserver.py 188.8.131.52 => 184.108.40.206 ===
--- ZODB3/ZEO/tests/zeoserver.py:220.127.116.11 Mon Sep 15 17:26:54 2003
+++ ZODB3/ZEO/tests/zeoserver.py Wed Sep 17 12:30:10 2003
@@ -122,8 +122,11 @@
self._adminaddr = addr
- # If this process doesn't exit in 300 seconds, commit suicide
+ # If this process doesn't exit in 330 seconds, commit suicide.
+ # The client threads in the ConcurrentUpdate tests will run for
+ # as long as 300 seconds. Set this timeout to 330 to minimize
+ # chance that the server gives up before the clients.
log("zeoserver", "suicide thread invoking shutdown")
from ZEO.tests.forker import shutdown_zeo_server
# XXX If the -k option was given to zeoserver, then the process will
More information about the Zope-Checkins