Skip to content

Commit ba23731

Browse files
committed
Set ssl_handshake_timeout
1 parent 916f011 commit ba23731

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_asyncio/test_ssl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ async def client_sock(addr):
349349
reader, writer = await asyncio.open_connection(
350350
sock=sock,
351351
ssl=client_sslctx,
352-
server_hostname='')
352+
server_hostname='',
353+
ssl_handshake_timeout=support.LONG_TIMEOUT)
353354

354355
writer.write(A_DATA)
355356
self.assertEqual(await reader.readexactly(2), b'OK')

0 commit comments

Comments
 (0)