@@ -179,7 +179,7 @@ async def wait_closed(self, obj):
179
179
def test_create_server_ssl_1 (self ):
180
180
CNT = 0 # number of clients that were successful
181
181
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
183
183
184
184
A_DATA = b'A' * 1024 * 1024
185
185
B_DATA = b'B' * 1024 * 1024
@@ -238,7 +238,7 @@ def prog(sock):
238
238
239
239
async def start_server ():
240
240
extras = {}
241
- extras = dict (ssl_handshake_timeout = 10 .0 )
241
+ extras = dict (ssl_handshake_timeout = 40 .0 )
242
242
243
243
srv = await asyncio .start_server (
244
244
handle_client ,
@@ -303,7 +303,7 @@ def server(sock):
303
303
304
304
async def client (addr ):
305
305
extras = {}
306
- extras = dict (ssl_handshake_timeout = 10 .0 )
306
+ extras = dict (ssl_handshake_timeout = 40 .0 )
307
307
308
308
reader , writer = await asyncio .open_connection (
309
309
* addr ,
@@ -466,7 +466,7 @@ async def client(addr):
466
466
* addr ,
467
467
ssl = client_sslctx ,
468
468
server_hostname = '' ,
469
- ssl_handshake_timeout = 10 .0 ),
469
+ ssl_handshake_timeout = 40 .0 ),
470
470
0.5 )
471
471
472
472
with self .tcp_server (server ,
@@ -590,7 +590,7 @@ def client():
590
590
591
591
extras = {}
592
592
if server_ssl :
593
- extras = dict (ssl_handshake_timeout = 10 .0 )
593
+ extras = dict (ssl_handshake_timeout = 40 .0 )
594
594
595
595
f = loop .create_task (
596
596
loop .connect_accepted_socket (
@@ -1019,7 +1019,7 @@ async def run_main():
1019
1019
def test_create_server_ssl_over_ssl (self ):
1020
1020
CNT = 0 # number of clients that were successful
1021
1021
TOTAL_CNT = 25 # total number of clients that test will create
1022
- TIMEOUT = 10 .0 # timeout for this test
1022
+ TIMEOUT = 60 .0 # timeout for this test
1023
1023
1024
1024
A_DATA = b'A' * 1024 * 1024
1025
1025
B_DATA = b'B' * 1024 * 1024
@@ -1186,7 +1186,7 @@ def server(sock):
1186
1186
1187
1187
async def client (addr ):
1188
1188
extras = {}
1189
- extras = dict (ssl_handshake_timeout = 10 .0 )
1189
+ extras = dict (ssl_handshake_timeout = 40 .0 )
1190
1190
1191
1191
reader , writer = await asyncio .open_connection (
1192
1192
* addr ,
0 commit comments