mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Increase test timeout (GH-25842)
This commit is contained in:
parent
ad106c68eb
commit
4ffd6fd2f1
1 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ class TestSSL(test_utils.TestCase):
|
||||||
def test_create_server_ssl_1(self):
|
def test_create_server_ssl_1(self):
|
||||||
CNT = 0 # number of clients that were successful
|
CNT = 0 # number of clients that were successful
|
||||||
TOTAL_CNT = 25 # total number of clients that test will create
|
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
|
A_DATA = b'A' * 1024 * 1024
|
||||||
B_DATA = b'B' * 1024 * 1024
|
B_DATA = b'B' * 1024 * 1024
|
||||||
|
@ -238,7 +238,7 @@ class TestSSL(test_utils.TestCase):
|
||||||
|
|
||||||
async def start_server():
|
async def start_server():
|
||||||
extras = {}
|
extras = {}
|
||||||
extras = dict(ssl_handshake_timeout=10.0)
|
extras = dict(ssl_handshake_timeout=40.0)
|
||||||
|
|
||||||
srv = await asyncio.start_server(
|
srv = await asyncio.start_server(
|
||||||
handle_client,
|
handle_client,
|
||||||
|
@ -303,7 +303,7 @@ class TestSSL(test_utils.TestCase):
|
||||||
|
|
||||||
async def client(addr):
|
async def client(addr):
|
||||||
extras = {}
|
extras = {}
|
||||||
extras = dict(ssl_handshake_timeout=10.0)
|
extras = dict(ssl_handshake_timeout=40.0)
|
||||||
|
|
||||||
reader, writer = await asyncio.open_connection(
|
reader, writer = await asyncio.open_connection(
|
||||||
*addr,
|
*addr,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue