Skip to content

Commit 4284913

Browse files
committed
gh-95573: Reduce test data size in test_asyncio/test_ssl.py
1 parent 962acd4 commit 4284913

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Lib/test/test_asyncio/test_ssl.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def test_create_server_ssl_1(self):
181181
TOTAL_CNT = 25 # total number of clients that test will create
182182
TIMEOUT = support.LONG_TIMEOUT # timeout for this test
183183

184-
A_DATA = b'A' * 1024 * 1024
185-
B_DATA = b'B' * 1024 * 1024
184+
A_DATA = b'A' * 1024 * 64
185+
B_DATA = b'B' * 1024 * 64
186186

187187
sslctx = self._create_server_ssl_context(
188188
test_utils.ONLYCERT, test_utils.ONLYKEY
@@ -277,8 +277,8 @@ def test_create_connection_ssl_1(self):
277277
CNT = 0
278278
TOTAL_CNT = 25
279279

280-
A_DATA = b'A' * 1024 * 1024
281-
B_DATA = b'B' * 1024 * 1024
280+
A_DATA = b'A' * 1024 * 64
281+
B_DATA = b'B' * 1024 * 64
282282

283283
sslctx = self._create_server_ssl_context(
284284
test_utils.ONLYCERT,
@@ -1024,8 +1024,8 @@ def test_create_server_ssl_over_ssl(self):
10241024
TOTAL_CNT = 25 # total number of clients that test will create
10251025
TIMEOUT = support.LONG_TIMEOUT # timeout for this test
10261026

1027-
A_DATA = b'A' * 1024 * 1024
1028-
B_DATA = b'B' * 1024 * 1024
1027+
A_DATA = b'A' * 1024 * 64
1028+
B_DATA = b'B' * 1024 * 64
10291029

10301030
sslctx_1 = self._create_server_ssl_context(
10311031
test_utils.ONLYCERT, test_utils.ONLYKEY)
@@ -1168,7 +1168,7 @@ def test_shutdown_cleanly(self):
11681168
CNT = 0
11691169
TOTAL_CNT = 25
11701170

1171-
A_DATA = b'A' * 1024 * 1024
1171+
A_DATA = b'A' * 1024 * 64
11721172

11731173
sslctx = self._create_server_ssl_context(
11741174
test_utils.ONLYCERT, test_utils.ONLYKEY)

0 commit comments

Comments
 (0)