diff --git a/tests/integration/contracts.json b/tests/integration/contracts.json index a4d4790ec8b..dc344dc0390 100644 --- a/tests/integration/contracts.json +++ b/tests/integration/contracts.json @@ -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" ], diff --git a/tests/integration/mcp/test_mcp_protocol_errors.py b/tests/integration/mcp/test_mcp_protocol_errors.py index 44046ac240e..cda63b2a87c 100644 --- a/tests/integration/mcp/test_mcp_protocol_errors.py +++ b/tests/integration/mcp/test_mcp_protocol_errors.py @@ -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")