Repository navigation
[release/10.0] Disable parallelisation on SslStreamTlsResumeTests - #137953
Merged
Merged
Conversation
Backport test collection serialization from dotnet#135751. Adapt attribute placement to the existing release/10.0 DEBUG block; no product changes. (cherry picked from commit 7abf5fa) Co-authored-by: Copilot App <[email protected]>
lewing
marked this pull request as ready for review
November 19, 2026 23:02
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
1 similar comment
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones |
steveisok
approved these changes
Nov 20, 2026
Member
Author
|
/azp run runtime |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
lewing
enabled auto-merge (squash)
November 20, 2026 05:07
jkotas
disabled auto-merge
November 20, 2026 06:52
This was referenced Nov 20, 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.
Fixes Issue N/A; test-only backport of the fix for #133418.
main PR #135751
Description
Backport 7abf5fa to release/10.0. Add
[Collection(nameof(DisableParallelization))]toSslStreamTlsResumeTestsand compile the existing collection-definition helper into the test assembly. This prevents other test collections from interfering with the TLS session-cache state used across connections.The three-line change is equivalent to main; the attribute is placed inside the existing .NET 10
#if DEBUGblock. No product code changes.Customer Impact
No direct product impact. TLS resumption test flakiness can fail servicing CI and delay unrelated changes.
Build 1690727 for #137930 failed
NoClientCert_DefaultValue_ResumeSucceeds(sslProtocol: Tls12)on Ubuntu.2604.Amd64.Open with Expected True / Actual False atRunConnectionAsync. This backport is a candidate mitigation, not a proven fix for that failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1690727&view=ms.vss-test-web.build-test-results-tab&runId=47200416&resultId=153252The source PR resolved #133418 (
DifferentEncryptionPolicy_NoResume). Historical #103354 involved Ubuntu 18.04/OpenSSL and does not establish the cause of the current Ubuntu 26.04 failure.Regression
No newly introduced product regression identified. This brings existing test isolation from main (merged October 14, 2026) to release/10.0.
Testing
./dotnet.sh --version: 10.0.115, matchingglobal.json../dotnet.sh build src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj -c Debug -p:RuntimeConfiguration=Release -p:UseLocalTargetingRuntimePack=false -v:minimal: passed on macOS arm64; 0 warnings, 0 errors. Compiled net10.0-windows, net10.0-unix, net10.0-osx, net10.0-ios, and net10.0-browser variants against the installed SDK targeting pack.git diff --check: passed.-p:UseLocalTargetingRuntimePack=falsefailed because the local shared-framework targeting pack was not built. The successful command above uses the SDK reference pack instead../build.sh clr+libs -rc releasebaseline on main was stopped at the user's request; a runtime rebuild is unnecessary for this test-only change.Risk
Low: only test scheduling and inclusion of the existing xUnit collection definition change. The collection runs without other parallel collections, which may increase test duration. Product binaries and public APIs are unchanged.
Package authoring no longer needed in .NET 9
IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.