diff --git a/tests/test_webhook/test_aiohtt_server.py b/tests/test_webhook/test_aiohttp_server.py similarity index 99% rename from tests/test_webhook/test_aiohtt_server.py rename to tests/test_webhook/test_aiohttp_server.py index c185b841..b6ee3b8b 100644 --- a/tests/test_webhook/test_aiohtt_server.py +++ b/tests/test_webhook/test_aiohttp_server.py @@ -185,8 +185,8 @@ class TestSimpleRequestHandler: handler_event.clear() resp = await self.make_reqest(client=client) assert resp.status == 200 - await asyncio.wait_for(handler_event.wait(), timeout=1) - await asyncio.wait_for(method_called_event.wait(), timeout=1) + await asyncio.wait_for(handler_event.wait(), timeout=3) + await asyncio.wait_for(method_called_event.wait(), timeout=3) # Python 3.12 had some changes to asyncio which make it quite a bit faster. But # probably because of that the assert_awaited call is consistently scheduled before the # silent_call_request call - failing the test. So we wait for the method to be called