Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ce2f36

Browse files
author
Charles-François Natali
committed
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
1 parent d208416 commit 4ce2f36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_ftplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ class TestTimeouts(TestCase):
767767
def setUp(self):
768768
self.evt = threading.Event()
769769
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
770-
self.sock.settimeout(3)
770+
self.sock.settimeout(10)
771771
self.port = support.bind_port(self.sock)
772772
threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
773773
# Wait for the server to be ready.

0 commit comments

Comments
 (0)