From e0138a7374a4c87291b10e3699de7c3fd7232f12 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 16 Oct 2026 21:57:37 +0200 Subject: [PATCH] test: find the mcp preprocessor probe tool by its new name (#11833) Co-authored-by: Claude Opus 5.5 --- .../tests/mcp_preprocessor_headers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api-integration-tests/tests/mcp_preprocessor_headers.rs b/backend/windmill-api-integration-tests/tests/mcp_preprocessor_headers.rs index 25942e845c..7ae631b5dc 100644 --- a/backend/windmill-api-integration-tests/tests/mcp_preprocessor_headers.rs +++ b/backend/windmill-api-integration-tests/tests/mcp_preprocessor_headers.rs @@ -127,7 +127,7 @@ async fn test_mcp_preprocessor_receives_the_callers_headers( .and_then(|list| { list.iter() .filter_map(|t| t["name"].as_str()) - .find(|n| n.contains("mcp__hdr__probe")) + .find(|n| *n == "mcp_hdr_probe") }) .ok_or_else(|| anyhow::anyhow!("the deployed script was not listed as a tool: {tools}"))? .to_string();