mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Increase timeout even more
This commit is contained in:
parent
bf1abfcdc6
commit
393d9f6829
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue