Repository navigation
[release/10.0] [Test Only] Accept both ICU mappings for Pacific Standard Time in Canada - #136981
Merged
tarekgh merged 1 commit intoNov 5, 2026
Merged
Conversation
Backport dotnet#136942 to release/10.0, preserving the existing conditional theory attribute.
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 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/area-system-globalization |
jeffhandley
approved these changes
Nov 4, 2026
Member
Author
|
/ba-g the failures are unrelated and the test changed in this PR is passing. |
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 #136758
main PR #136942
Description
Manual backport of #136942 to
release/10.0.Allow
IdsConversionsWithRegionTestto accept eitherAmerica/VancouverorAmerica/Los_AngelesforPacific Standard Timewith regionCA, depending on the ICU mapping data installed on the test host. The theory accepts aparams string[]of expected IDs and usesAssert.Contains. All other 22 cases retain a single accepted value.The port preserves the branch's existing
[ConditionalTheory(nameof(SupportIanaNamesConversion))]attribute. There are no product or public API changes.Customer Impact
Without this change, the test fails on hosts with updated ICU mappings, producing unrelated CI failures and potentially blocking servicing validation. This is a test-only fix, not a change to the conversion result applications receive.
Regression
No product regression. The test's hardcoded expected mapping does not account for newer external ICU data.
Testing
Compiled the exact modified theory method and all 23
InlineDatarows extracted from this branch in a temporary standalone xUnit project, replacing only the conditional theory attribute with[Theory]in the temporary harness.From the temporary harness directory:
Passed on Windows with .NET 10.0.14: 23 passed, zero failed, zero skipped.
From the release worktree:
git diff --checkPassed. The extracted method and data also match the merged main fix exactly.
Full release-branch builds and repository test-project execution were not run. Local execution used the host's older ICU mapping, which returns
America/Vancouver; execution with updated ICU data was not tested locally.Risk
Low. Only one existing test is changed. The condition controlling when it runs is unchanged, and only the Canadian Pacific mapping gains an additional accepted result. No shipping code, package contents, or public contracts change.
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.
Not applicable: test-only change.
Resolves #136758