dotnet / dotnet/aspnetcore

Quarantine RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer failing intermittently

Open
#65,855 2 comments 0 reactions 0 assignees View on GitHub
test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

## Failing Test(s)

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

## Error Message

```text
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
Actual: typeof(System.IO.IOException)
```

## Stacktrace

```text
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(Microsoft.AspNetCore.SignalR.HubException)
Actual: typeof(System.IO.IOException)
at Xunit.Assert.Throws[T](Func`1 testCode)
at Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests.RedisHubLifetimeManagerTests.ClientDisconnectsWithoutCompletingClientResultOnSecondServer()
```

## Logs

```text
See build logs for detailed output. When a client disconnects while a client result is pending on the second server, the test expects a HubException but intermittently gets an IOException instead.
```

## Build

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

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/23270202784) · [◷](https://github.com/search?q=repo%3Adotnet%2Faspnetcore+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Faspnetcore%2Ftest-quarantine%22&type=issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.