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

Skip to content

Commit b01c32d

Browse files
author
Charles-François Natali
committed
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
2 parents d974393 + 4ce2f36 commit b01c32d

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
@@ -894,7 +894,7 @@ class TestTimeouts(TestCase):
894894
def setUp(self):
895895
self.evt = threading.Event()
896896
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
897-
self.sock.settimeout(3)
897+
self.sock.settimeout(10)
898898
self.port = support.bind_port(self.sock)
899899
threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
900900
# Wait for the server to be ready.

0 commit comments

Comments
 (0)