[Zodb-checkins] CVS: ZODB3/ZEO/tests - zeoserver.py:1.19.6.3
Jeremy Hylton
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
Modified Files:
Tag: Zope-2_7-branch
zeoserver.py
Log Message:
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 1.19.6.2 => 1.19.6.3 ===
--- ZODB3/ZEO/tests/zeoserver.py:1.19.6.2 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
def run(self):
- # If this process doesn't exit in 300 seconds, commit suicide
- time.sleep(300)
+ # 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.
+ time.sleep(330)
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 Zodb-checkins
mailing list