[Python-checkins] cpython (merge 3.2 -> default): Issue #13453: Try to increase some socket timeouts to make some buildbots stop

charles-francois.natali python-checkins at python.org
Mon Dec 19 16:14:50 CET 2011


http://hg.python.org/cpython/rev/307d698c3ece
changeset:   74081:307d698c3ece
parent:      74077:5e3a172bba89
parent:      74080:d7daf98c068e
user:        Charles-François Natali <neologix at free.fr>
date:        Mon Dec 19 16:12:59 2011 +0100
summary:
  Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.

files:
  Lib/test/test_ftplib.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -894,7 +894,7 @@
     def setUp(self):
         self.evt = threading.Event()
         self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-        self.sock.settimeout(3)
+        self.sock.settimeout(10)
         self.port = support.bind_port(self.sock)
         threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
         # Wait for the server to be ready.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list