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

This commit is contained in:
Andrew Svetlov 2022-03-17 02:54:36 +02:00 committed by GitHub
parent 3dd9bfac04
commit a7c5414832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ class AsyncioWaitForTest(unittest.IsolatedAsyncioTestCase):
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):