[Python-checkins] cpython (3.2): 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:49 CET 2011


http://hg.python.org/cpython/rev/d7daf98c068e
changeset:   74080:d7daf98c068e
branch:      3.2
parent:      74076:0b03cb97dac0
user:        Charles-François Natali <neologix at free.fr>
date:        Mon Dec 19 16:12:23 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
@@ -767,7 +767,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