Commit e1474b4
Add integration tests and fix test forward-compatibility
Add McpClient + Stateful Streamable HTTP integration tests for MRTR,
and a test verifying experimental protocol version negotiation. Fix the
sampling log assertion in MapMcpTests to handle MRTR mode where sampling
is embedded in the IncompleteResult exchange. Demote MrtrHandlerError
from Error to Debug to avoid double-logging since the observer just
confirms the exception was observed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 898684d commit e1474b4
File tree
4 files changed
+409
-3
lines changed- src/ModelContextProtocol.Core/Server
- tests
- ModelContextProtocol.AspNetCore.Tests
- ModelContextProtocol.Tests/Client
4 files changed
+409
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
1735 | | - | |
| 1735 | + | |
1736 | 1736 | | |
1737 | 1737 | | |
1738 | 1738 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| |||
0 commit comments