[ 
https://issues.apache.org/jira/browse/IGNITE-28567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reza Taroosheh updated IGNITE-28567:
------------------------------------
    Summary: .Net: IgniteDbParameter.ToString() is culture-dependent and breaks 
TestToString  (was: IgniteDbParameter.ToString() is culture-dependent and 
breaks TestToString)

> .Net: IgniteDbParameter.ToString() is culture-dependent and breaks 
> TestToString
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-28567
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28567
>             Project: Ignite
>          Issue Type: Bug
>          Components: .NET
>            Reporter: Reza Taroosheh
>            Assignee: Reza Taroosheh
>            Priority: Minor
>              Labels: ignite-3
>
> The {{TestToString}} unit test in 
> {{Apache.Ignite.Tests.Sql.IgniteDbParameterTests}} fails on Windows when the 
> decimal separator is set to {{{},{}}}.
> This behavior is controlled by 
> {{{}System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator{}}}.
> *Error Message*
> String lengths are both 34. Strings differ at index 30.
> Expected: "IgniteDbParameter \{ Value = 12.3 }"
> But was: "IgniteDbParameter \{ Value = 12,3 }"
>  
> *Steps to Reproduce*
>  # Set the OS decimal separator to {{,}} (Windows regional settings, Settings 
> -> Time & language -> Language & region -> Number).
>  # Run tests.
>  # Observe failure in {{{}TestToString{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to