[Python-checkins] Reduce flakiness of taskgroups test 13 (GH-31411)

gvanrossum webhook-mailer at python.org
Fri Feb 18 12:29:15 EST 2022


https://github.com/python/cpython/commit/80a9ba537f1f1666a9e6c5eceef4683f86967a1f
commit: 80a9ba537f1f1666a9e6c5eceef4683f86967a1f
branch: main
author: Guido van Rossum <guido at python.org>
committer: gvanrossum <gvanrossum at gmail.com>
date: 2022-02-18T09:28:56-08:00
summary:

Reduce flakiness of taskgroups test 13 (GH-31411)

files:
M Lib/test/test_asyncio/test_taskgroups.py

diff --git a/Lib/test/test_asyncio/test_taskgroups.py b/Lib/test/test_asyncio/test_taskgroups.py
index aab1fd1ebb38d..40774a8993e3f 100644
--- a/Lib/test/test_asyncio/test_taskgroups.py
+++ b/Lib/test/test_asyncio/test_taskgroups.py
@@ -372,7 +372,7 @@ async def runner():
                 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:



More information about the Python-checkins mailing list