Files
crank/crates/crank-community-mcp/src/rmcp_logging_handler_runtime_tests.rs
T
bsodfather 22637861c3
CI / UI Checks (pull_request) Successful in 9s
CI / Rust Checks (pull_request) Successful in 39m38s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
MCP: execute legacy logging through awaited SDK handler
2026-11-14 03:11:37 +00:00

13 lines
507 B
Rust

//! Handler-specific acceptance oracle, distinct from existing wire-level GREEN controls.
use super::rmcp_logging_runtime_tests;
#[tokio::test]
async fn legacy_logging_http_completes_and_consumes_the_sdk_handler() {
// Existing real build_app HTTP control proves the JSON/SSE contract independently.
assert_eq!(
rmcp_logging_runtime_tests::control("2025-11-25").await,
[1, 1, 1, 1, 1],
"legacy wire succeeded but the awaited SDK handler was not completed/consumed"
);
}