fix more leaks

This commit is contained in:
Michael Bolin
2026-02-19 13:23:07 -08:00
parent 243f4e8741
commit 3a15d3a0b2
3 changed files with 74 additions and 5 deletions

View File

@@ -747,7 +747,12 @@ async fn turn_start_accepts_local_image_input() -> Result<()> {
let TurnStartResponse { turn } = to_response::<TurnStartResponse>(turn_resp)?;
assert!(!turn.id.is_empty());
// This test only validates that turn/start responds and returns a turn.
timeout(
DEFAULT_READ_TIMEOUT,
mcp.read_stream_until_notification_message("turn/completed"),
)
.await??;
Ok(())
}