[Python-checkins] bpo-47038: Increase a test timeout for slow CI machines (GH-31951)

miss-islington webhook-mailer at python.org
Wed Mar 16 21:20:14 EDT 2022


https://github.com/python/cpython/commit/ba76f901923d80ad9b24bb1636aa751d55e0c768
commit: ba76f901923d80ad9b24bb1636aa751d55e0c768
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-03-16T18:20:02-07:00
summary:

bpo-47038: Increase a test timeout for slow CI machines (GH-31951)

(cherry picked from commit a7c54148322781cb0f332d440a3454d550ef6414)

Co-authored-by: Andrew Svetlov <andrew.svetlov at gmail.com>

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

diff --git a/Lib/test/test_asyncio/test_waitfor.py b/Lib/test/test_asyncio/test_waitfor.py
index 874aabf9bd715..45498fa097f6b 100644
--- a/Lib/test/test_asyncio/test_waitfor.py
+++ b/Lib/test/test_asyncio/test_waitfor.py
@@ -144,7 +144,7 @@ async def foo():
         self.assertTrue(fut.done())
         # it should have been cancelled due to the timeout
         self.assertTrue(fut.cancelled())
-        self.assertLess(t1 - t0, 0.2)
+        self.assertLess(t1 - t0, 0.5)
         self.assertEqual(foo_running, False)
 
     async def test_wait_for_blocking(self):



More information about the Python-checkins mailing list