Skip to content

Quarantine ClientDisconnectsWithoutCompletingClientResultOnSecondServer #41858

@TanayParikh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions