Skip to content

Make SqlConnectionReliabilityTest more reliable and re-enable #3822

Closed as duplicate

Description

@mdaigle

The tests in SqlConnectionReliabilityTest try to assert that an AggregateException is thrown when opening a connection with retry configured. Certain classes of errors are not eligible for retry and so slip through to the test cases without getting wrapped in an AggregateException. These tests need to be reworked to be more reliable.

Tests are disabled by #3821

Activity

  1. added
    Area\Tests
    on Dec 2, 2025
  2. added theissue type on Dec 2, 2025
  3. moved this from To triage to Backlog in SqlClient Boardon Dec 2, 2025
  4. changed the title [-]Make SqlConnectionReliabilityTest more reliable[/-] [+]Make SqlConnectionReliabilityTest more reliable and re-enable[/+] on Dec 2, 2025
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

    Area\Tests

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions