The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): managed-worker first-inference wait tolerates a saturated 40-worker runner
teknium157c957713d67
diff --git a/tests/gateway/test_managed_worker_launch.py b/tests/gateway/test_managed_worker_launch.pyindex bdca93f885d..ef70bd4bb61 100644--- a/tests/gateway/test_managed_worker_launch.py+++ b/tests/gateway/test_managed_worker_launch.py@@ -180,7 +180,7 @@ def test_ordinary_owner_launches_tool_worker_and_detach_does_not_cancel(tmp_pathanswered = await rpc(ws, 'clarify.respond', session_id=sid,execution_generation=clarify['execution_generation'], prompt_id=clarify['prompt_id'], answer='Beta')assert answered['result']['status'] == 'resolved', answered- assert await asyncio.to_thread(peer.blocked.wait, 90), (home / 'restart.log').read_text()+ assert await asyncio.to_thread(peer.blocked.wait, 240), (home / 'restart.log').read_text()workers = query('SELECT execution_id,status FROM worker_executions WHERE session_id=?', (sid,))assert len(workers) == 1, workerschildren = [p for p in psutil.Process(owner.pid).children() if p.cmdline()[-2:] == ['-m', 'agent.managed_worker']]