fix(rmcp): use ServerConfig in cancellation test (#1273)

This commit is contained in:
Dale Seo 2026-09-15 11:18:33 -04:00 • committed by GitHub
commit 0550e13c1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ async fn reverse_cancellation(startup: &str, equal_ids: bool) -> anyhow::Result<
return_error: false,
};
let mut server = IntoTransport::<RoleServer, _, _>::into_transport(server_transport);
let mut info = InitializeResult::default();
let mut info = ServerConfig::default();
info.protocol_version = ProtocolVersion::V_2025_11_25;
let client = if startup == "initialize" {
let (client, handshake) = tokio::join!(handler.serve(client_transport), async {