Skip to content

ClientTimesoutWhenHandshakeResponseTakesTooLong test failure #35728

Closed
@captainsafia

Description

@captainsafia

Failing Test(s)

  • Microsoft.AspNetCore.SignalR.Client.Tests.HubConnectionTests+ConnectionLifecycle.ClientTimesoutWhenHandshakeResponseTakesTooLong

Error Message

System.TimeoutException : The operation has timed out.

Stacktrace


Stack trace
   at Microsoft.AspNetCore.Testing.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 143
   at Microsoft.AspNetCore.SignalR.Client.Tests.HubConnectionTests.ConnectionLifecycle.ClientTimesoutWhenHandshakeResponseTakesTooLong() in /_/src/SignalR/clients/csharp/Client/test/UnitTests/HubConnectionTests.ConnectionLifecycle.cs:line 522
--- End of stack trace from previous location ---

Logs

[0.000s] [TestLifetime] [Information] Starting test ClientTimesoutWhenHandshakeResponseTakesTooLong at 2021-08-25T17:12:43
[0.003s] [Microsoft.AspNetCore.SignalR.Client.HubConnection] [Debug] Starting HubConnection.
[0.003s] [Microsoft.AspNetCore.SignalR.Client.HubConnection] [Information] Using HubProtocol 'json v1'.
[0.003s] [Microsoft.AspNetCore.SignalR.Client.HubConnection] [Debug] Sending Hub Handshake.
[60.015s] [Microsoft.AspNetCore.SignalR.Client.Tests.HubConnectionTests.ConnectionLifecycle] [Error] Test threw an exception.
System.TimeoutException: The operation has timed out.
   at Microsoft.AspNetCore.Testing.TaskExtensions.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 143
   at Microsoft.AspNetCore.SignalR.Client.Tests.HubConnectionTests.ConnectionLifecycle.ClientTimesoutWhenHandshakeResponseTakesTooLong() in /_/src/SignalR/clients/csharp/Client/test/UnitTests/HubConnectionTests.ConnectionLifecycle.cs:line 522
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 273
--- End of stack trace from previous location ---
   at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 54
   at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 96
[60.016s] [TestLifetime] [Information] Finished test ClientTimesoutWhenHandshakeResponseTakesTooLong in 60.0151014s

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1317747&view=results

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions