Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[release/9.0-staging] [TestOnly] Fix NumberFormatInfoGroupSize test - #128578

#128578
Merged
tarekgh merged 2 commits into
dotnet:release/9.0-stagingdotnet/runtime:release/9.0-stagingfrom
svick:backport/pr-120546-to-release/9.0-stagingsvick/runtime:backport/pr-120546-to-release/9.0-stagingCopy head branch name to clipboard
Jun 4, 2026
Merged

[release/9.0-staging] [TestOnly] Fix NumberFormatInfoGroupSize test#128578
tarekgh merged 2 commits into
dotnet:release/9.0-stagingdotnet/runtime:release/9.0-stagingfrom
svick:backport/pr-120546-to-release/9.0-stagingsvick/runtime:backport/pr-120546-to-release/9.0-stagingCopy head branch name to clipboard

Conversation

@svick

@svick svick commented May 26, 2026

Copy link
Copy Markdown
Member

Backport of #120546 to release/9.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

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:32

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

Backport of #120546 to release/9.0-staging that updates the NumberGroupSizes getter test so it accepts the new ur-IN group sizes returned by recent Apple OS globalization data, in addition to the previously expected values.

Changes:

  • Expands NumberGroupSizes_TestData rows to include a culture name and a second acceptable expected array.
  • Rewrites NumberGroupSizes_Get_ReturnsExpected to accept either of two expected arrays, mirroring the existing pattern in NumberFormatInfoCurrencyGroupSizes.
  • For ur-IN, allows both NumberFormatInfoData.UrINNumberGroupSizes() and { 3, 2 } as valid results.

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

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@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 commented Jun 4, 2026

Copy link
Copy Markdown
Member

/ba-g the failures are not related to the edited tests

@tarekgh tarekgh added the Servicing-approved Approved for servicing release label Jun 4, 2026
@tarekgh
tarekgh merged commit 5488179 into dotnet:release/9.0-staging Jun 4, 2026
85 of 91 checks passed
@svick
svick deleted the backport/pr-120546-to-release/9.0-staging branch June 5, 2026 10:55
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Numerics Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.