File tree 1 file changed +3
-2
lines changed
tests/ModelContextProtocol.Tests
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ public class SseServerIntegrationTestFixture : IAsyncDisposable
11
11
{
12
12
private readonly Task _serverTask ;
13
13
private readonly CancellationTokenSource _stopCts = new ( ) ;
14
- private DelegatingTestOutputHelper _delegatingTestOutputHelper = new ( ) ;
15
14
16
- private ILoggerFactory _redirectingLoggerFactory ;
15
+ private readonly DelegatingTestOutputHelper _delegatingTestOutputHelper = new ( ) ;
16
+ private readonly ILoggerFactory _redirectingLoggerFactory ;
17
17
18
18
public McpClientOptions DefaultOptions { get ; }
19
19
public McpServerConfig DefaultConfig { get ; }
@@ -50,6 +50,7 @@ public void Initialize(ITestOutputHelper output)
50
50
51
51
public async ValueTask DisposeAsync ( )
52
52
{
53
+ _delegatingTestOutputHelper . CurrentTestOutputHelper = null ;
53
54
_redirectingLoggerFactory . Dispose ( ) ;
54
55
_stopCts . Cancel ( ) ;
55
56
try
You can’t perform that action at this time.
0 commit comments