Skip to content

Test failure CurrencyNegativePattern_Get_ReturnsExpected_ByLocale in macOS 12 beta 8 #58944

Closed

Description

@vcsjones

Using macOS 12 beta 8, this test fails:

[xUnit.net 00:00:02.25]     System.Globalization.Tests.NumberFormatInfoCurrencyNegativePattern.CurrencyNegativePattern_Get_ReturnsExpected_ByLocale(locale: "es-BO") [FAIL]
  Failed System.Globalization.Tests.NumberFormatInfoCurrencyNegativePattern.CurrencyNegativePattern_Get_ReturnsExpected_ByLocale(locale: "es-BO") [25 ms]
  Error Message:
   Assert.Contains() Failure
Not found: 12
In value:  Int32[] [1]
  Stack Trace:
     at System.Globalization.Tests.NumberFormatInfoCurrencyNegativePattern.CurrencyNegativePattern_Get_ReturnsExpected_ByLocale(String locale) in /Users/kjones/Projects/dotnet/runtime-main/src/libraries/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoCurrencyNegativePattern.cs:line 56
dotnet --info .NET SDK (reflecting any global.json): Version: 6.0.100-rc.1.21430.12 Commit: 2b28e04218

Runtime Environment:
OS Name: Mac OS X
OS Version: 12.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /Users/kjones/Projects/dotnet/runtime-main/.dotnet/sdk/6.0.100-rc.1.21430.12/

Activity

  1. ghost added
    untriaged
    on Sep 10, 2021
  2. EgorBo commented on Sep 10, 2021

    @EgorBo
    Member

    @vcsjones what version of ICU macOS 12b8 is bundled with? uconv -V

  3. vcsjones commented on Sep 10, 2021

    @vcsjones
    MemberAuthor

    @EgorBo I don't think macOS ships with uconv -V out of the box, but after doing some poking it looks like 68.2.

  4. removed
    untriaged
    on Sep 16, 2021
  5. added this to the 7.0.0 milestone on Sep 16, 2021
  6. added
    untriaged
    on Jan 14, 2022
  7. removed this from the 7.0.0 milestone on Jan 14, 2022
  8. removed
    untriaged
    on Jan 14, 2022
  9. added this to the 7.0.0 milestone on Jan 14, 2022
  10. tarekgh commented on Jan 14, 2022

    @tarekgh
    Member

    I looked at that, Mac Monterey is using ICU version 68.2 but looks it is Apple specific customized ICU which at least different than the one on Windows 11 which has the same version. I think we can just fix the test.

    Just for the record, the ICU on Mac exist in the path /usr/lib/libicucore.A.dylib which is hidden from the file system. I tried to manually install a private ICU version 69 and not seeing the same result we are getting when using the built-in version on Mac.

  11. ghost added
    in-pr
    on Jan 18, 2022
  12. ghost removed
    in-pr
    on Jan 19, 2022
  13. ghost locked as resolved and limited conversation to collaborators on Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions