You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[7.0] Tests: Backport quarantine categories and filters - #5134
Adapt the existing release-specific filter property names (TestFilters or legacy Filter) without changing tasks, arguments, ordinary selection, or continue-on-error behavior.
Add focused Pester regressions and their test inventory documentation.
All 13 quarantine expressions in this release were checked; each includes both category=flaky and category!=failing. Verified the YAML edits are exactly this substitution with no other template changes.
Focused Pester negative control: all affected template cases failed before the repair. Repaired run: 3 passed, zero failures/skips on this release; seven cases passed across the three backports.
Whitespace checks passed. Earlier category-only compilation/discovery checks remain recorded; the new changes are pipeline expressions, a static Pester regression, and its documentation, with no C# changes.
Full Azure DevOps pipeline execution, Windows/native-SNI/.NET Framework execution, and live-SQL execution are not claimed.
Consolidate applicable main quarantines, simulator lifecycle and fault scheduling fixes, MARS teardown assertions, and the pool checkout scheduler regression. Adapt to existing release APIs without importing absent feature tests or overlapping pending backports.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The changes remove required flaky-test quarantines and weaken connection regression coverage by allowing the test to pass without exercising a failed attempt or retry.
Backports test quarantines and stability fixes to release/7.0, adapting upstream changes to the branch’s existing test APIs. No production driver, public API, dependency, or pipeline changes are included.
Changes:
Adds targeted manual-test quarantines and probation metadata for repaired tests.
Stabilizes simulator workers, fault quotas, transport lifecycle, failover setup, and certificate handling.
Repairs pool-checkout scheduling and MARS teardown assertions, with focused regression coverage.
File
Description
TESTGUIDE.md
Documents simulator ownership, isolation, and certificate practices.
paulmedynski
changed the title
Tests: Backport recent quarantines and stability fixes to 7.0
[7.0] Tests: Backport recent quarantines and stability fixes
Nov 23, 2026
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.34%. Comparing base (75ec803) to head (b16bb89). ⚠️ Report is 5 commits behind head on release/7.0.
❗ There is a different number of reports uploaded between BASE (75ec803) and HEAD (b16bb89). Click for more details.
Restore the release-specific failover class quarantine, propagate simulator handler I/O failures, and prove physical failure followed by an observed configurable retry on sync and async opens.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved issues allow certificate-generation failures to bypass cleanup, connection-close logging exceptions to go unreported, and endpoint disposal races to turn normal teardown into simulator failures.
This new cleanup path does not run for certificate-generation failures: makepfxcert.ps1 catches errors and only writes a message, and RunPowershellScript checks for a timeout but never checks the process exit code. A failed generation therefore returns normally, leaving partial setup behind and allowing the test to load a missing or stale PFX. Propagate script failures and reject unsuccessful exit codes so this catch actually performs the intended cleanup.
Connection-close logging failures are not recorded
If the connection-closed log writer throws after this removal, the worker task faults without recording the error, and a later Stop() can succeed without reporting it. Catch the logging exception under the existing collection lock and add it to _errors; add a regression with a writer that fails specifically on the connection-closed message.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The supplied Linux runs and script syntax checks leave transport/TLS and certificate changes unvalidated on Windows/native-SNI, net462, and live-SQL paths, including actual certificate-script execution.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the test’s synchronization can let it pass without blocking on a full pool, leaving the new scheduler regression’s coverage uncertain.
Restore release baseline test bodies and infrastructure, retaining applicable flaky categories and adding the remaining split-packet quarantines from #5143. Defer behavioral repairs to separate backports.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
paulmedynski
changed the title
[7.0] Tests: Backport recent quarantines and stability fixes
[7.0] Tests: Backport quarantine categories only
Nov 27, 2026
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The new certificate-test annotations admit Windows-only tests into Unix quarantine runs because the flaky filter does not exclude failing tests, risking an unsupported WindowsIdentity.GetCurrent() call.
Backport the quarantine-filter portion of #5147, already included in release/8.0 through #5148. Adapt legacy MSBuild Filter properties without importing the scheduler fixes. Add focused Pester regression coverage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
paulmedynski
changed the title
[7.0] Tests: Backport quarantine categories only
[7.0] Tests: Backport quarantine categories and filters
Nov 27, 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
Area\TestsIssues that are targeted to tests or test projects
4 participants
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.
Summary
Backport applicable flaky-test categories and quarantine pipeline filters to release/7.0.
category!=failingto all 13 quarantine filter expressions so tests marked both flaky and failing are excluded. This is the filter-only portion of SNI: Fix managed networking deadlocks on single-worker schedulers #5147, already included in release/8.0 through [8.0.0 Cherry-pick] SNI: Fix managed networking deadlocks on single-worker schedulers #5148; no scheduler/product fixes are imported.TestFiltersor legacyFilter) without changing tasks, arguments, ordinary selection, or continue-on-error behavior.Validation
category=flakyandcategory!=failing. Verified the YAML edits are exactly this substitution with no other template changes.Checklist