dotnet / dotnet/aspnetcore

Quarantine HubConnectionTests.ServerWithOldProtocolVersionClientWithNewProtocolVersionWorksDoesNotAllowStatefulReconnect

Open
#67,344 1 comment 0 reactions 0 assignees View on GitHub
area-signalr test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

## Failing Test

`Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ServerWithOldProtocolVersionClientWithNewProtocolVersionWorksDoesNotAllowStatefulReconnect`

## Error Message

```text
Xunit.Sdk.TrueException: Assert.True() Failure
Expected: True
Actual: False
```

## Stacktrace

Stack trace

```text
Xunit.Sdk.TrueException: Assert.True() Failure
Expected: True
Actual: False
at Xunit.Assert.True(Boolean condition) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 95
at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ServerWithOldProtocolVersionClientWithNewProtocolVersionWorksDoesNotAllowStatefulReconnect() in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs:line 2905

Stack Trace:
D:\a\_work\1\s\src\Shared\SignalR\VerifyNoErrorScope.cs(47,0): at Microsoft.AspNetCore.SignalR.Tests.VerifyNoErrorsScope.Dispose()
at Microsoft.AspNetCore.SignalR.Tests.InProcessTestServer`1.DisposeAsync()
```

## Logs

Helix job: `6d6b53f2-588b-4364-8dbc-35153e9df658`, workitem: `batch_3--net11.0`

## Build

[Build 1474207](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1474207&view=results)

Also failed in a pipeline 87 (components-e2e) build.

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/27903471243) · 5.7K AIC · ⌖ 52 AIC · ⊞ 25.6K · [◷](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

Research direction

Start with the failing test Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ServerWithOldProtocolVersionClientWithNewProtocolVersionWorksDoesNotAllowStatefulReconnect at line 2905 in SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs. Review the Helix job and Build 1474207 logs to determine why Assert.True fails, then run the test to confirm the failure is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.