Skip to content

Commit 4ffd6fd

Browse files
authored
Increase test timeout (GH-25842)
1 parent ad106c6 commit 4ffd6fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_asyncio/test_ssl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async def wait_closed(self, obj):
179179
def test_create_server_ssl_1(self):
180180
CNT = 0 # number of clients that were successful
181181
TOTAL_CNT = 25 # total number of clients that test will create
182-
TIMEOUT = 10.0 # timeout for this test
182+
TIMEOUT = 60.0 # timeout for this test
183183

184184
A_DATA = b'A' * 1024 * 1024
185185
B_DATA = b'B' * 1024 * 1024
@@ -238,7 +238,7 @@ def prog(sock):
238238

239239
async def start_server():
240240
extras = {}
241-
extras = dict(ssl_handshake_timeout=10.0)
241+
extras = dict(ssl_handshake_timeout=40.0)
242242

243243
srv = await asyncio.start_server(
244244
handle_client,
@@ -303,7 +303,7 @@ def server(sock):
303303

304304
async def client(addr):
305305
extras = {}
306-
extras = dict(ssl_handshake_timeout=10.0)
306+
extras = dict(ssl_handshake_timeout=40.0)
307307

308308
reader, writer = await asyncio.open_connection(
309309
*addr,

0 commit comments

Comments
 (0)