Skip to content

Quarantine ClientDisconnectsWithoutCompletingClientResultOnSecondServer #41858

Closed

Description

@TanayParikh

Failing Test(s)

  • Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer

Error Message

Assert.Throws() Failure
Expected: typeof(System.Exception)
Actual:   typeof(System.InvalidOperationException): Collection was modified; enumeration operation may not execute.
---- System.InvalidOperationException : Collection was modified; enumeration operation may not execute.

Stacktrace

Details
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Microsoft.AspNetCore.SignalR.Tests.TestRedisServer.Publish(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 235
   at Microsoft.AspNetCore.SignalR.Tests.TestSubscriber.Publish(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 313
   at Microsoft.AspNetCore.SignalR.Tests.TestSubscriber.PublishAsync(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 319
   at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.PublishAsync(String channel, Byte[] payload) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 320
   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 422
----- Inner Stack Trace -----
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Microsoft.AspNetCore.SignalR.Tests.TestRedisServer.Publish(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 235
   at Microsoft.AspNetCore.SignalR.Tests.TestSubscriber.Publish(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 313
   at Microsoft.AspNetCore.SignalR.Tests.TestSubscriber.PublishAsync(RedisChannel channel, RedisValue message, CommandFlags flags) in /_/src/SignalR/server/StackExchangeRedis/test/TestConnectionMultiplexer.cs:line 319
   at Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager`1.PublishAsync(String channel, Byte[] payload) in /_/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs:line 320
   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 422

Logs

Details

vstest.log

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1781369&view=ms.vss-test-web.build-test-results-tab&runId=47743102&resultId=120362&paneView=debug

Activity

  1. BrennanConroy commented on May 25, 2022

    @BrennanConroy
    Member

    Has this failed since #41564 was merged?

  2. TanayParikh commented on May 25, 2022

    @TanayParikh
    ContributorAuthor

    Nope. I'll close this out and keep an eye out for a newer failure.

  3. ghost locked as resolved and limited conversation to collaborators on Jun 25, 2022
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions