Delete faulty assert (#313)
We need better coverage of Subscribe/Unsubscribe separately, but for now this assert is bad.
This commit is contained in:
parent
c1e294ca05
commit
90748b1198
1 changed files with 0 additions and 5 deletions
|
|
@ -307,11 +307,6 @@ public partial class ClientIntegrationTests : LoggedTest, IClassFixture<ClientIn
|
|||
|
||||
// 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<TimeoutException>(() => receivedNotification.Task.WaitAsync(TimeSpan.FromSeconds(1), TestContext.Current.CancellationToken));
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
|
|
|||
Loading…
Reference in a new issue