The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(telegram): run the ingress admission case for the full stall threshold
kshitijk4poorbb5b4f4ca61c
diff --git a/tests/plugins/test_telegram_update_admission.py b/tests/plugins/test_telegram_update_admission.pyindex af2ebb1459e..da8e5a254d8 100644--- a/tests/plugins/test_telegram_update_admission.py+++ b/tests/plugins/test_telegram_update_admission.py@@ -20,6 +20,7 @@ from telegram.request import BaseRequestfrom gateway.config import PlatformConfigfrom gateway.platforms.event import MessageType+from plugins.platforms.telegram import adapter as tg_adapterfrom plugins.platforms.telegram.adapter import TelegramAdapter@@ -508,7 +509,7 @@ async def test_only_pre_handoff_failure_reopens_admission(monkeypatch, tmp_path,await app.process_update(update(app.bot))assert not adapter._seen_update_ids and not adapter._inflight_update_idsassert adapter._updates_dispatched_total == 2- for _ in range(3):+ for _ in range(tg_adapter._INGRESS_DISPATCH_STALL_HEARTBEATS):adapter._check_ingress_dispatch_stall()assert not any("healthy but deaf" in record.message for record in caplog.records)return