From 393d9f68299807469eb6ae0479838029610d13ac Mon Sep 17 00:00:00 2001 From: evgfilim1 Date: Fri, 19 Aug 2022 14:16:37 +0500 Subject: [PATCH] Increase timeout even more --- tests/test_webhook/test_aiohtt_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_webhook/test_aiohtt_server.py b/tests/test_webhook/test_aiohtt_server.py index 285cd9b7..e4ca1c94 100644 --- a/tests/test_webhook/test_aiohtt_server.py +++ b/tests/test_webhook/test_aiohtt_server.py @@ -118,7 +118,7 @@ class TestSimpleRequestHandler: assert resp.status == 200 # Running this test on PyPy with coverage pytest plugin makes the test run slower # than expected, so we adjust the timeout accordingly. - timeout = 2 if sys.implementation.name == "pypy" else 1 + timeout = 5 if sys.implementation.name == "pypy" else 1 await asyncio.wait_for(handler_event.wait(), timeout=timeout) mocked_silent_call_request.assert_awaited() result = await resp.json()