[3.13] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133664)

(cherry picked from commit 26839eae20)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-05-08 15:20:34 +02:00 committed by GitHub
parent e0aefbd263
commit fabe89b078
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 12 deletions

View file

@ -195,9 +195,10 @@ async def wait_closed(self, obj):
except (BrokenPipeError, ConnectionError):
pass
def test_create_server_ssl_1(self):
@support.bigmemtest(size=25, memuse=90*2**20, dry_run=False)
def test_create_server_ssl_1(self, size):
CNT = 0 # number of clients that were successful
TOTAL_CNT = 25 # total number of clients that test will create
TOTAL_CNT = size # total number of clients that test will create
TIMEOUT = support.LONG_TIMEOUT # timeout for this test
A_DATA = b'A' * 1024 * BUF_MULTIPLIER
@ -1038,9 +1039,10 @@ async def run_main():
self.loop.run_until_complete(run_main())
def test_create_server_ssl_over_ssl(self):
@support.bigmemtest(size=25, memuse=90*2**20, dry_run=False)
def test_create_server_ssl_over_ssl(self, size):
CNT = 0 # number of clients that were successful
TOTAL_CNT = 25 # total number of clients that test will create
TOTAL_CNT = size # total number of clients that test will create
TIMEOUT = support.LONG_TIMEOUT # timeout for this test
A_DATA = b'A' * 1024 * BUF_MULTIPLIER