[ 
https://issues.apache.org/jira/browse/IGNITE-24198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923534#comment-17923534
 ] 

Igor Sapego commented on IGNITE-24198:
--------------------------------------

Looks good to me.

> .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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {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)

Reply via email to