We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1e294c commit 90748b1Copy full SHA for 90748b1
tests/ModelContextProtocol.Tests/ClientIntegrationTests.cs
@@ -307,11 +307,6 @@ public async Task UnsubscribeResource_Stdio()
307
308
// unsubscribe
309
await client.UnsubscribeFromResourceAsync("test://static/resource/1", TestContext.Current.CancellationToken);
310
- receivedNotification = new();
311
-
312
- // wait a bit to validate we don't receive another. this is best effort only;
313
- // false negatives are possible.
314
- await Assert.ThrowsAsync<TimeoutException>(() => receivedNotification.Task.WaitAsync(TimeSpan.FromSeconds(1), TestContext.Current.CancellationToken));
315
}
316
317
[Theory]
0 commit comments