Commit 914d5f53 authored by Jeremy Hylton's avatar Jeremy Hylton

Increase the length of time we wait for a server process to start.

Increase by iterating for longer, rather than making the delay
longer.  This helps the tests go fast on faster machines.
parent 86f70fac
......@@ -91,7 +91,7 @@ def start_zeo_server(conf, addr=None, ro_svr=0, monitor=0, keep=0, invq=None,
pid = os.spawnve(os.P_NOWAIT, sys.executable, tuple(args), d)
adminaddr = ('localhost', port+1)
# We need to wait until the server starts, but not forever
for i in range(10):
for i in range(20):
time.sleep(0.25)
try:
zLOG.LOG('forker', zLOG.DEBUG, 'connect %s' % i)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment