test(mcp): register large SSE regression in 1.103 harness

This commit is contained in:
Joshua Valluru 2026-10-17 18:10:31 -07:00
parent cac33fe1e2
commit 276778e680
2 changed files with 4 additions and 0 deletions

View file

@ -191,6 +191,9 @@
"tests/integration/observability/test_guardrail_effects.py::test_guardrail_denial_prevents_provider_and_preserves_allowed_control": [
"other.observability.guardrails.denial_prevents_provider_with_allowed_control"
],
"tests/integration/mcp/test_mcp_protocol_errors.py::test_tool_result_larger_than_one_mib_in_a_single_sse_event_reaches_the_caller": [
"other.mcp.transport.large_sse_tool_result_reaches_caller"
],
"tests/integration/mcp/test_mcp_protocol_errors.py::test_jsonrpc_error_and_malformed_tool_result_remain_errors": [
"other.mcp.errors.protocol_and_malformed_results_cannot_be_empty_success"
],

View file

@ -88,6 +88,7 @@ def test_jsonrpc_error_and_malformed_tool_result_remain_errors(gateway: Gateway)
assert control.json()["content"][0]["text"] == "8"
@pytest.mark.covers("other.mcp.transport.large_sse_tool_result_reaches_caller")
def test_tool_result_larger_than_one_mib_in_a_single_sse_event_reaches_the_caller(gateway: Gateway) -> None:
payload: Final = "x" * (3 * 1024 * 1024)
server: Final = MCPServer("large-result")