[pypy-svn] r75103 - pypy/benchmarks/own/twisted

arigo at codespeak.net arigo at codespeak.net
Fri Jun 4 14:53:50 CEST 2010


Author: arigo
Date: Fri Jun  4 14:53:48 2010
New Revision: 75103

Modified:
   pypy/benchmarks/own/twisted/benchlib.py
Log:
Be "future-proof" and wait 2 minutes 5'' instead of 1 minute 30''.
Just in case some machine has a 2 minutes delay.


Modified: pypy/benchmarks/own/twisted/benchlib.py
==============================================================================
--- pypy/benchmarks/own/twisted/benchlib.py	(original)
+++ pypy/benchmarks/own/twisted/benchlib.py	Fri Jun  4 14:53:48 2010
@@ -103,11 +103,11 @@
 
 def sleep_to_purge_connexions():
     # For tests that do a lot of TCP connexions, we sleep a bit more than
-    # 1 minute at the end.  This makes sure that the sockets have time to
+    # 2 minutes at the end.  This makes sure that the sockets have time to
     # get out of the TIME_WAIT state before we do anything more.
     global _interface
     if _interface != 1:
-        print >> sys.stderr, "sleeping 90 seconds..."
+        print >> sys.stderr, "sleeping 125 seconds..."
         import time
-        time.sleep(90)
+        time.sleep(125)
         _interface = 1



More information about the Pypy-commit mailing list