Repository navigation
Open
Labels
Description
Failing Test(s)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer
Error Message
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
Actual: typeof(System.IO.IOException)
---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
Stacktrace
Details
at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer() in /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs:line 575
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 403
Logs
Details
2026-03-26T01:56:17.4723166Z [xUnit.net 00:00:03.46] Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer [FAIL]
2026-03-26T01:56:17.4794639Z [xUnit.net 00:00:03.46] Assert.Throws() Failure: Exception type was not an exact match
2026-03-26T01:56:17.4809263Z [xUnit.net 00:00:03.47] Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
2026-03-26T01:56:17.4877220Z [xUnit.net 00:00:03.47] Actual: typeof(System.IO.IOException)
2026-03-26T01:56:17.4877317Z [xUnit.net 00:00:03.47] ---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
2026-03-26T01:56:17.4877345Z [xUnit.net 00:00:03.47] Stack Trace:
2026-03-26T01:56:17.4938185Z [xUnit.net 00:00:03.47] /_/src/Shared/TaskExtensions.cs(88,0): at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber)
2026-03-26T01:56:17.4938277Z [xUnit.net 00:00:03.47] /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs(575,0): at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer()
2026-03-26T01:56:17.4938445Z [xUnit.net 00:00:03.48] --- End of stack trace from previous location ---
2026-03-26T01:56:17.4938473Z [xUnit.net 00:00:03.48] ----- Inner Stack Trace -----
2026-03-26T01:56:17.4938665Z [xUnit.net 00:00:03.48] /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs(403,0): at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken)
2026-03-26T01:56:17.5679480Z Error Message:
2026-03-26T01:56:17.5679571Z Assert.Throws() Failure: Exception type was not an exact match
2026-03-26T01:56:17.5679602Z Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
2026-03-26T01:56:17.5679630Z Actual: typeof(System.IO.IOException)
2026-03-26T01:56:17.5687827Z ---- System.IO.IOException : Connection '0e9a7dbd-bed3-4098-ad6f-cc14559a158e' does not exist.
2026-03-26T01:56:17.5687884Z Stack Trace:
2026-03-26T01:56:17.5687914Z at System.Threading.Tasks.Extensions.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88
2026-03-26T01:56:17.5687941Z at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer() in /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs:line 575
2026-03-26T01:56:17.5687989Z --- End of stack trace from previous location ---
2026-03-26T01:56:17.5688015Z ----- Inner Stack Trace -----
2026-03-26T01:56:17.5688040Z at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.InvokeConnectionAsync[T](String connectionId, String methodName, Object[] args, CancellationToken cancellationToken) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 403
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=1353100
Note
🔒 Integrity filter blocked 9 items
The following items were blocked because they don't meet the GitHub integrity level.
- #65928
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #65869
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #65893
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - #65815
pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - EditForm: oninput loses typed characters during rapid typing / long key press on slow network #65994
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - InteractiveAuto WebAssembly fails under FallbackPolicy RequireAuthenticatedUser #65993
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - The "pattern" paramter of Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.MapFallback is ignored when EnableRequestDelegateGenerator is true #65992
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - Perf improvement: httpsys-encoded-url #65988
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved". - Publish Microsoft.AspNetCore.JsonPatch.SystemTextJson without ASP.NET Core Runtime dependency #65986
list_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
To allow these resources, lower min-integrity in your GitHub frontmatter:
tools:
github:
min-integrity: approved # merged | approved | unapproved | noneGenerated by Daily Test Quarantine Management · ◷
Activity
github-actions commentedon Sep 2, 2026
Triage Summary
Area:
area-signalr(failure inRedisHubLifetimeManagerTests/ScaleoutHubLifetimeManagerTestsscaleout hub lifetime manager)Type:
Bug(reports a failing test with an exception type mismatch)Potential Duplicates
Notes
src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:InvokeConnectionAsyncwhere anIOExceptionis thrown instead of the expectedHubException.