[ https://issues.apache.org/jira/browse/IGNITE-24198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-24198: ------------------------------------ Description: {code} Failed TestAllSupportedArgTypes [425 ms] Error Message: String lengths are both 13. Strings differ at index 2. Expected: "-3,4028235E38" But was: "-3.4028235E38" -------------^ Stack Trace: at Apache.Ignite.Tests.Compute.ComputeTests.<TestAllSupportedArgTypes>g__Test|28_0(Object val, String expectedStr) in C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line 276 at Apache.Ignite.Tests.Compute.ComputeTests.TestAllSupportedArgTypes() in C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line 235 {code} Caused by: {code} var expectedStr0 = expectedStr ?? val.ToString()!.Replace("E+", "E"); {code} We should use *InvariantCulture* when converting *IFormattable* to string. was: {code} Failed TestAllSupportedArgTypes [425 ms] Error Message: String lengths are both 13. Strings differ at index 2. Expected: "-3,4028235E38" But was: "-3.4028235E38" -------------^ Stack Trace: at Apache.Ignite.Tests.Compute.ComputeTests.<TestAllSupportedArgTypes>g__Test|28_0(Object val, String expectedStr) in C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line 276 at Apache.Ignite.Tests.Compute.ComputeTests.TestAllSupportedArgTypes() in C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line 235 {code} > .NET: Thin 3.0: Compute tests fail on some locales > -------------------------------------------------- > > Key: IGNITE-24198 > URL: https://issues.apache.org/jira/browse/IGNITE-24198 > Project: Ignite > Issue Type: Bug > Components: platforms, thin client > Reporter: Pavel Tupitsyn > Assignee: Pavel Tupitsyn > Priority: Major > Labels: .NET, ignite-3 > Fix For: 3.1 > > > {code} > Failed TestAllSupportedArgTypes [425 ms] > Error Message: > String lengths are both 13. Strings differ at index 2. > Expected: "-3,4028235E38" > But was: "-3.4028235E38" > -------------^ > Stack Trace: > at > Apache.Ignite.Tests.Compute.ComputeTests.<TestAllSupportedArgTypes>g__Test|28_0(Object > val, String expectedStr) in > C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line > 276 > at Apache.Ignite.Tests.Compute.ComputeTests.TestAllSupportedArgTypes() in > C:\Work\ignite-3\modules\platforms\dotnet\Apache.Ignite.Tests\Compute\ComputeTests.cs:line > 235 > {code} > Caused by: > {code} > var expectedStr0 = expectedStr ?? val.ToString()!.Replace("E+", "E"); > {code} > We should use *InvariantCulture* when converting *IFormattable* to string. -- This message was sent by Atlassian Jira (v8.20.10#820010)