Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanConroy committed Jul 31, 2020
1 parent 870d23d commit fdfb9aa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/SignalR/server/SignalR/test/HubConnectionHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2942,10 +2942,6 @@ public async Task HubMethodInvokeDoesNotCountTowardsClientTimeout()
var hubMethodTask = client.InvokeAsync(nameof(LongRunningHub.LongRunningMethod));
await tcsService.StartedMethod.Task.OrTimeout();

// Invoke another hub method (which will be blocked by the first method) in order to stop the timeout
// This is how a real-world example would behave
await client.SendInvocationAsync(nameof(LongRunningHub.LongRunningMethod)).OrTimeout();

// Tick heartbeat while hub method is running to show that close isn't triggered
client.TickHeartbeat();

Expand Down

0 comments on commit fdfb9aa

Please sign in to comment.