[Python-checkins] cpython (2.7): 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/2228d985fdcc
changeset: 74079:2228d985fdcc
branch: 2.7
user: Charles-François Natali <neologix at free.fr>
date: Mon Dec 19 16:11:04 2011 +0100
summary:
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
files:
Lib/test/test_ftplib.py | 2 +-
Lib/test/test_telnetlib.py | 2 +-
2 files changed, 2 insertions(+), 2 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
@@ -667,7 +667,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 = test_support.bind_port(self.sock)
threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
# Wait for the server to be ready.
diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py
--- a/Lib/test/test_telnetlib.py
+++ b/Lib/test/test_telnetlib.py
@@ -95,7 +95,7 @@
self.evt = threading.Event()
self.dataq = Queue.Queue()
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- self.sock.settimeout(3)
+ self.sock.settimeout(10)
self.port = test_support.bind_port(self.sock)
self.thread = threading.Thread(target=server, args=(self.evt,self.sock, self.dataq))
self.thread.start()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list