[Python-checkins] Increase test timeout (GH-25842)
asvetlov
webhook-mailer at python.org
Mon May 3 05:06:27 EDT 2021
https://github.com/python/cpython/commit/4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6
commit: 4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6
branch: master
author: Andrew Svetlov <andrew.svetlov at gmail.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2021-05-03T12:06:17+03:00
summary:
Increase test timeout (GH-25842)
files:
M Lib/test/test_asyncio/test_ssl.py
diff --git a/Lib/test/test_asyncio/test_ssl.py b/Lib/test/test_asyncio/test_ssl.py
index 4dcd3a0292a92..9cdd281221c57 100644
--- a/Lib/test/test_asyncio/test_ssl.py
+++ b/Lib/test/test_asyncio/test_ssl.py
@@ -179,7 +179,7 @@ async def wait_closed(self, obj):
def test_create_server_ssl_1(self):
CNT = 0 # number of clients that were successful
TOTAL_CNT = 25 # total number of clients that test will create
- TIMEOUT = 10.0 # timeout for this test
+ TIMEOUT = 60.0 # timeout for this test
A_DATA = b'A' * 1024 * 1024
B_DATA = b'B' * 1024 * 1024
@@ -238,7 +238,7 @@ def prog(sock):
async def start_server():
extras = {}
- extras = dict(ssl_handshake_timeout=10.0)
+ extras = dict(ssl_handshake_timeout=40.0)
srv = await asyncio.start_server(
handle_client,
@@ -303,7 +303,7 @@ def server(sock):
async def client(addr):
extras = {}
- extras = dict(ssl_handshake_timeout=10.0)
+ extras = dict(ssl_handshake_timeout=40.0)
reader, writer = await asyncio.open_connection(
*addr,
More information about the Python-checkins
mailing list