Resolve test server paths deterministically - #1735
Merged
jeffhandley merged 2 commits intoJul 26, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: ad8afb00-2809-4785-8781-014a90c8abf1
jeffhandley
approved these changes
Jul 26, 2026
jeffhandley
merged commit Jul 26, 2026
5f5d5ea
into
modelcontextprotocol:main
16 of 17 checks passed
PranavSenthilnathan
deleted the
pranavsenthilnathan-resolve-testserver-paths
branch
July 26, 2026 06:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TestServer.exeandTestServer.dllfromAppContext.BaseDirectorydotnetinvocation behaviorPATHValidation
dotnet test .\tests\ModelContextProtocol.Tests\ModelContextProtocol.Tests.csproj --framework net10.0 --filter "FullyQualifiedName~ModelContextProtocol.Tests.Transport.StdioClientTransportTests.EscapesCliArgumentsCorrectly|FullyQualifiedName~ModelContextProtocol.Tests.ClientIntegrationTests"(99 total: 97 passed, 2 skipped)dotnet build(succeeded with 0 warnings and 0 errors)dotnet test --no-build(rerun passed all projects/frameworks except one unrelated net9 cancellation race; the single failed test passed immediately in isolation)