mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) (GH-108924)
(cherry picked from commit 1e0d62793a
)
This commit is contained in:
parent
4e5fd6dc14
commit
cf19e8ea3a
18 changed files with 316 additions and 3 deletions
|
@ -2398,6 +2398,7 @@ class NetworkedTests(unittest.TestCase):
|
|||
self.assertIn(rc, (errno.EAGAIN, errno.EWOULDBLOCK))
|
||||
|
||||
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'Needs IPv6')
|
||||
@support.requires_resource('walltime')
|
||||
def test_get_server_certificate_ipv6(self):
|
||||
with socket_helper.transient_internet('ipv6.google.com'):
|
||||
_test_get_server_certificate(self, 'ipv6.google.com', 443)
|
||||
|
@ -2956,6 +2957,7 @@ def try_protocol_combo(server_protocol, client_protocol, expect_success,
|
|||
|
||||
class ThreadedTests(unittest.TestCase):
|
||||
|
||||
@support.requires_resource('walltime')
|
||||
def test_echo(self):
|
||||
"""Basic test of an SSL client connecting to a server"""
|
||||
if support.verbose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue