[Zodb-checkins] CVS: ZODB3/ZEO/tests - forker.py:1.34

Jeremy Hylton jeremy@zope.com
Tue, 4 Mar 2003 14:56:29 -0500


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv24358/ZEO/tests

Modified Files:
	forker.py 
Log Message:
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.


=== ZODB3/ZEO/tests/forker.py 1.33 => 1.34 ===
--- ZODB3/ZEO/tests/forker.py:1.33	Mon Jan 27 15:11:25 2003
+++ ZODB3/ZEO/tests/forker.py	Tue Mar  4 14:56:28 2003
@@ -91,7 +91,7 @@
     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)