diff options
author | Charles-François Natali <neologix@free.fr> | 2011-12-19 15:11:04 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-12-19 15:11:04 (GMT) |
commit | 3b8180739dc93638185f6815139f1c5b15c12302 (patch) | |
tree | df21d47c379075968bd25633ae807ecb4dfbf541 /Lib | |
parent | 99cff3f1825e70027b2fa170fdc4723c57723b5d (diff) | |
download | cpython-3b8180739dc93638185f6815139f1c5b15c12302.zip cpython-3b8180739dc93638185f6815139f1c5b15c12302.tar.gz cpython-3b8180739dc93638185f6815139f1c5b15c12302.tar.bz2 |
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_ftplib.py | 2 | ||||
-rw-r--r-- | 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 index 9199582..c82e8a6 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -667,7 +667,7 @@ class TestTimeouts(TestCase): 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 index 15064c5..5a179f0 100644 --- a/Lib/test/test_telnetlib.py +++ b/Lib/test/test_telnetlib.py @@ -95,7 +95,7 @@ def _read_setUp(self): 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() |