diff --git a/tests/test_dispatcher/test_dispatcher.py b/tests/test_dispatcher/test_dispatcher.py index ef32c712..9603e733 100644 --- a/tests/test_dispatcher/test_dispatcher.py +++ b/tests/test_dispatcher/test_dispatcher.py @@ -596,7 +596,7 @@ class TestDispatcher: ) as mocked_silent_call_request: response = await dispatcher.feed_webhook_update(bot, RAW_UPDATE, _timeout=0.1) assert response is None - await asyncio.sleep(0.2) + await asyncio.sleep(0.5) mocked_silent_call_request.assert_awaited() @pytest.mark.asyncio @@ -608,7 +608,7 @@ class TestDispatcher: response = await dispatcher.feed_webhook_update(bot, RAW_UPDATE, _timeout=0.1) assert response is None - await asyncio.sleep(0.2) + await asyncio.sleep(0.5) log_records = [rec.message for rec in caplog.records] assert "Cause exception while process update" in log_records[0]