litellm/tests/e2e/a2a
mubashir1osmani f9fbeb93c2 test(e2e): wait for a2a agents to reach the data plane after registration
POST /v1/agents is a control-plane write; the /a2a/{agent_id} routes that serve
the card and run message/send are data plane and only see the agent after the
next DB reload. Every test registered an agent and immediately read its card or
sent it a message, so the first data-plane touch could 404 on the agent it had
just created.

register_agent now waits for the card to become servable before returning, the
same way ProxyClient.create_model waits for a new model, so callers do not each
have to poll. Registration failures skip the wait, leaving the two rejection
tests unchanged. A genuine propagation failure now fails naming the agent id and
the last card read rather than as a bare 404 on whichever /a2a call ran first.

Refs LIT-4821
2026-07-27 14:04:44 -07:00
..
a2a_client.py test(e2e): wait for a2a agents to reach the data plane after registration 2026-07-27 14:04:44 -07:00
conftest.py test(e2e): add live A2A agent e2e suite 2026-07-21 00:10:49 +00:00
test_a2a_agent_e2e.py fix(e2e): stop tests from breaking the shared proxy for every suite after them (#34664) 2026-07-25 23:12:55 +00:00