csharp-sdk/tests/ModelContextProtocol.Tests/Utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Halter bab74d5895
Fix StdioServerTransport.DisposeAsync hang (#235)
- It's not just Unix, it's all platforms that can hang
- Windows doesn't hang on Ctrl-C because that triggers
  the end of the Stream, but that doesn't help in IHostApplicationLifetime.StopAsync() scenarios

4e9627e311/src/libraries/System.Console/src/System/ConsolePal.Unix.ConsoleStream.cs (L13)
4e9627e311/src/libraries/System.Console/src/System/ConsolePal.Windows.cs (L1149)
2025-04-08 10:20:16 -07:00
..
DelegatingTestOutputHelper.cs Refactor transports to help enable graceful shutdown (#142) 2025-03-30 17:10:14 -07:00
KestrelInMemoryConnection.cs Fix StdioServerTransport.DisposeAsync hang (#235) 2025-04-08 10:20:16 -07:00
KestrelInMemoryTest.cs Use Kestrel for all in-memory HTTP tests (#225) 2025-04-06 19:27:17 -07:00
KestrelInMemoryTransport.cs Use Kestrel for all in-memory HTTP tests (#225) 2025-04-06 19:27:17 -07:00
LoggedTest.cs Add ModelContextProtocol.AspNetCore (#160) 2025-03-31 12:01:04 -07:00
MockHttpHandler.cs Address some static analysis and TODOs (#12) 2025-03-20 23:09:38 -04:00
TestServerTransport.cs Allow JsonSerializerOptions parameters for user-defined and inputs and hardcode everything else to the source generator. (#182) 2025-04-02 18:43:54 +01:00
XunitLoggerProvider.cs Add XunitLoggerProvider (#81) 2025-03-25 08:53:55 -04:00