Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(mcp): stabilize idle reconnect timing
Xubin Ren0eac82984c33
diff --git a/tests/agent/test_mcp_reconnect_crash.py b/tests/agent/test_mcp_reconnect_crash.pyindex 9e2eb59da..5ca387cfb 100644--- a/tests/agent/test_mcp_reconnect_crash.py+++ b/tests/agent/test_mcp_reconnect_crash.py@@ -27,8 +27,10 @@ from nanobot.bus.queue import MessageBusfrom nanobot.config.schema import MCPServerConfigfrom nanobot.security import network as security_network-_IDLE_TIMEOUT_SECONDS = 0.25-_IDLE_EXPIRY_GRACE_SECONDS = 0.25+# Leave enough headroom for reconnect handshakes on slower CI hosts; each test+# still waits beyond this deadline explicitly before exercising recovery.+_IDLE_TIMEOUT_SECONDS = 1.0+_IDLE_EXPIRY_GRACE_SECONDS = 0.5_TOOL_TIMEOUT_SECONDS = 10