From: Guido van Rossum Date: Fri, 18 Feb 2022 17:28:56 +0000 (-0800) Subject: Reduce flakiness of taskgroups test 13 (GH-31411) X-Git-Tag: v3.11.0a6~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80a9ba537f1f1666a9e6c5eceef4683f86967a1f;p=thirdparty%2FPython%2Fcpython.git Reduce flakiness of taskgroups test 13 (GH-31411) --- diff --git a/Lib/test/test_asyncio/test_taskgroups.py b/Lib/test/test_asyncio/test_taskgroups.py index aab1fd1ebb38..40774a8993e3 100644 --- a/Lib/test/test_asyncio/test_taskgroups.py +++ b/Lib/test/test_asyncio/test_taskgroups.py @@ -372,7 +372,7 @@ class TestTaskGroup(unittest.IsolatedAsyncioTestCase): g1.create_task(crash_after(0.1)) async with taskgroups.TaskGroup() as g2: - g2.create_task(crash_after(0.2)) + g2.create_task(crash_after(10)) r = asyncio.create_task(runner()) with self.assertRaises(ExceptionGroup) as cm: