Skip to content

Quarantine RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer #170

Open

Description

@DeagleGross

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 '2e952b1b-97e9-467a-96f7-79dcac7c1b4f' 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-30T13:21:40.9827780Z [xUnit.net 00:00:04.27]     Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer [FAIL]
2026-03-30T13:21:40.9846101Z [xUnit.net 00:00:04.27]       Assert.Throws() Failure: Exception type was not an exact match
2026-03-30T13:21:40.9900401Z [xUnit.net 00:00:04.27]       Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
2026-03-30T13:21:40.9901523Z [xUnit.net 00:00:04.27]       Actual:   typeof(System.IO.IOException)
2026-03-30T13:21:40.9901553Z [xUnit.net 00:00:04.27]       ---- System.IO.IOException : Connection '4116a60e-e1ca-4944-9270-b59a066a862f' does not exist.
2026-03-30T13:21:40.9956576Z [xUnit.net 00:00:04.27]         /_/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-30T13:21:40.9978805Z [xUnit.net 00:00:04.27]         /_/src/SignalR/server/Specification.Tests/src/ScaleoutHubLifetimeManagerTests.cs(575,0): at Microsoft.AspNetCore.SignalR.Specification.Tests.ScaleoutHubLifetimeManagerTests`1.ClientDisconnectsWithoutCompletingClientResultOnSecondServer()
2026-03-30T13:21:41.0007328Z [xUnit.net 00:00:04.28]         --- End of stack trace from previous location ---
2026-03-30T13:21:41.0007515Z [xUnit.net 00:00:04.28]         ----- Inner Stack Trace -----
2026-03-30T13:21:41.0038617Z [xUnit.net 00:00:04.28]         /_/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)

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1357966

Note

🔒 Integrity filter blocked 9 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #65815 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65817 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65827 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65816 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #61810 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #27189 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #24771 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #41859 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66040 pull_request_read: 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 | none

Generated by Daily Test Quarantine Management · ◷

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions