Skip to content

[release/8.0-staging] [TestOnly] Fix NumberFormatInfoGroupSize test#128579

Merged
tarekgh merged 2 commits into
dotnet:release/8.0-stagingfrom
svick:backport/pr-120546-to-release/8.0-staging
Jun 4, 2026
Merged

[release/8.0-staging] [TestOnly] Fix NumberFormatInfoGroupSize test#128579
tarekgh merged 2 commits into
dotnet:release/8.0-stagingfrom
svick:backport/pr-120546-to-release/8.0-staging

Conversation

@svick

@svick svick commented May 26, 2026

Copy link
Copy Markdown
Member

Backport of #120546 to release/8.0-staging

/cc @jeffhandley @tarekgh

Customer Impact

  • Customer reported
  • Found internally

This test failed in CI on 9.0: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1431345&view=ms.vss-test-web.build-test-results-tab&runId=39820274&paneView=debug&resultId=132492.

Since the same test exists on 8.0, I think it should be fixed there as well.

Regression

  • Yes
  • No

Testing

Verified in main, and the failing test is occurring in release/9.0-staging as well.

Risk

Low. Test only, handling new data.

* Fix NumberFormatInfoGroupSize test

* Fix coding style
Copilot AI review requested due to automatic review settings May 26, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This backport updates a System.Globalization test to tolerate platform globalization data differences for ur-IN number group sizes, matching the intent of the original main-branch fix.

Changes:

  • Adds culture names and optional alternate expected group sizes to NumberGroupSizes_TestData.
  • Updates the assertion to accept either primary or alternate expected values and include culture context in failure output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tarekgh tarekgh added this to the 8.0.x milestone May 26, 2026
@svick

svick commented Jun 4, 2026

Copy link
Copy Markdown
Member Author

@jeffhandley Can you approve this test-only fix for servicing? Thanks.

@tarekgh tarekgh added the Servicing-approved Approved for servicing release label Jun 4, 2026
@tarekgh tarekgh merged commit 24fbd88 into dotnet:release/8.0-staging Jun 4, 2026
115 of 121 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants