]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Reduce flakiness of taskgroups test 13 (GH-31411)
authorGuido van Rossum <guido@python.org>
Fri, 18 Feb 2022 17:28:56 +0000 (09:28 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Feb 2022 17:28:56 +0000 (09:28 -0800)
Lib/test/test_asyncio/test_taskgroups.py

index aab1fd1ebb38d87283b78bbadde7dae42c2c364f..40774a8993e3ff8cc772dada510bd53cc9b5e181 100644 (file)
@@ -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: