Issue #13453: Try to increase some socket timeouts to make some buildbots stop

failing.
This commit is contained in:
Charles-François Natali 2011-12-19 16:12:23 +01:00
parent d208416a40
commit 4ce2f36461
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,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 = support.bind_port(self.sock)
threading.Thread(target=self.server, args=(self.evt,self.sock)).start()
# Wait for the server to be ready.