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

This commit is contained in:
Serhiy Storchaka 2025-05-08 15:57:30 +03:00 committed by GitHub
parent dcf93c4c93
commit 26839eae20
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 @@ class TestSSL(test_utils.TestCase):
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 @@ class TestSSL(test_utils.TestCase):
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