diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2021-05-03 09:06:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 09:06:17 (GMT) |
commit | 4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6 (patch) | |
tree | bb67886fcc7ce2e2405557246faa8dd1fb84d5ea /Lib/test/test_asyncio | |
parent | ad106c68eb00f5e4af2f937107baff6141948cee (diff) | |
download | cpython-4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6.zip cpython-4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6.tar.gz cpython-4ffd6fd2f13b3a7d32d41f64c38c455d491d4ca6.tar.bz2 |
Increase test timeout (GH-25842)
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r-- | Lib/test/test_asyncio/test_ssl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_ssl.py b/Lib/test/test_asyncio/test_ssl.py index 4dcd3a0..9cdd281 100644 --- a/Lib/test/test_asyncio/test_ssl.py +++ b/Lib/test/test_asyncio/test_ssl.py @@ -179,7 +179,7 @@ class TestSSL(test_utils.TestCase): 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 @@ class TestSSL(test_utils.TestCase): 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 @@ class TestSSL(test_utils.TestCase): 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, |