Tests | Address transient errors in CI pipelines#4314
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Addresses CI flakiness by adding task-level retries to .NET install steps and quarantining two intermittently failing transient-fault failover tests.
Changes:
- Add
[Trait("Category", "flaky")]to two retry-disabled transient fault tests inConnectionFailoverTests.cs. - Add
retryCountOnTaskFailure: 3to the SDK install, runtime install loop, and ARM64 PowerShell install steps ininstall-dotnet.yml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/ConnectionFailoverTests.cs | Quarantines two flaky transient-fault retry-disabled tests so they run in the separate flaky pipeline step. |
| eng/pipelines/steps/install-dotnet.yml | Adds task-level retries to .NET SDK/runtime install tasks to mitigate transient CDN/network failures. |
mdaigle
approved these changes
May 28, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4314 +/- ##
==========================================
- Coverage 66.57% 64.71% -1.86%
==========================================
Files 284 279 -5
Lines 43301 66219 +22918
==========================================
+ Hits 28827 42853 +14026
- Misses 14474 23366 +8892
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
benrr101
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All CI pipelines were affected due to these common issues: