dotnet / dotnet/SqlClient

Test | SqlConnectionReliabilityTests are flaky

Open
#3,821 0 comments 0 reactions 1 assignee Claimed by @mdaigle View on GitHub
ActiveIssue Area\Tests
Dominant language
C#
Stars
989
Forks
340
Avg merge
4d 18h
Merged PRs (30d)
69

Description

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. For now, disable them so that the pipeline passes consistently.

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.