diff --git a/tests/ModelContextProtocol.Tests/ClientIntegrationTests.cs b/tests/ModelContextProtocol.Tests/ClientIntegrationTests.cs index d6944df97..dc01c92c3 100644 --- a/tests/ModelContextProtocol.Tests/ClientIntegrationTests.cs +++ b/tests/ModelContextProtocol.Tests/ClientIntegrationTests.cs @@ -307,11 +307,6 @@ public async Task UnsubscribeResource_Stdio() // unsubscribe await client.UnsubscribeFromResourceAsync("test://static/resource/1", TestContext.Current.CancellationToken); - receivedNotification = new(); - - // wait a bit to validate we don't receive another. this is best effort only; - // false negatives are possible. - await Assert.ThrowsAsync(() => receivedNotification.Task.WaitAsync(TimeSpan.FromSeconds(1), TestContext.Current.CancellationToken)); } [Theory]