Skip to content

[test-quarantine] Quarantine TestServerTests.LongPollingWorks #559

Open

Description

@DeagleGross

Quarantines Microsoft.AspNetCore.SignalR.Client.Tests.TestServerTests.LongPollingWorks which has failed 2 times over the past 30 days in the aspnetcore-ci pipeline on main.

The test fails due to a race condition during teardown — System.ObjectDisposedException is thrown in OnDisconnectedAsync when the IServiceProvider is disposed before the SignalR hub finishes handling the disconnect event. This is the same class of failure as the already-quarantined sibling test WebSocketsWorks.

Failing builds:

Associated issue: #558

Generated by Daily Test Quarantine Management · sonnet46 11.1M · ◷


Note

This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

To create a pull request with the changes:

# Download the artifact from the workflow run
gh run download 26765512340 -n agent -D /tmp/agent-26765512340

# Fetch the bundle into a temporary ref, then update the local branch
git fetch /tmp/agent-26765512340/aw-test-quarantine-longpollingworks-20260601.bundle refs/heads/test-quarantine/longpollingworks-20260601:refs/bundles/create-pr-test-quarantine-longpollingworks-20260601-ee4c79e117b51203-94e810e2
git update-ref refs/heads/test-quarantine/longpollingworks-20260601-ee4c79e117b51203 refs/bundles/create-pr-test-quarantine-longpollingworks-20260601-ee4c79e117b51203-94e810e2
git checkout test-quarantine/longpollingworks-20260601-ee4c79e117b51203
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d refs/bundles/create-pr-test-quarantine-longpollingworks-20260601-ee4c79e117b51203-94e810e2

# Push the branch to origin
git push origin test-quarantine/longpollingworks-20260601-ee4c79e117b51203

# Create the pull request
gh pr create --title '[test-quarantine] Quarantine TestServerTests.LongPollingWorks' --base main --head test-quarantine/longpollingworks-20260601-ee4c79e117b51203 --repo DeagleGross/aspnetcore

Activity

  1. DeagleGross commented on Jun 1, 2026

    @DeagleGross
    OwnerAuthor

    Triage Summary

    Area: area-signalr — the failing test is Microsoft.AspNetCore.SignalR.Client.Tests.TestServerTests.LongPollingWorks, and the stack trace points directly into SignalR's DefaultHubDispatcher and HubConnectionHandler.

    Type: Bug — a flaky test caused by a race condition during teardown where IServiceProvider is disposed before OnDisconnectedAsync completes.

    Additional Label: test-failure (already applied) — this is a CI test quarantine issue.

    Potential Duplicates

    Notes

    • The issue body references a sibling quarantined test WebSocketsWorks with the same class of failure (ObjectDisposedException in OnDisconnectedAsync).
    • Issue Quarantine Microsoft.AspNetCore.SignalR.Client.Tests.TestServerTests.LongPollingWorks #558 contains the full stack trace and Helix job details for the underlying failure.
    • This issue tracks the quarantine PR itself (which failed to push and needs to be created manually via the instructions in the issue body).

    Generated by Issue Triage Agent for dotnet/aspnetcore for issue #559 · sonnet46 805.4K · ◷

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions