-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OLEDB] Text file created in US locale not readable on others as delimited file #29969
Comments
I tweaked one of the failing tests locally to just run the test with spanish locale, and I still get the test pass successfully for myself locally meanwhile the same tests was failing on the CI with following message: (Refer to here)
Making this change didn't give me a local repro. |
@maryamariyan could you try move the lines Assert.True(CultureInfo.CurrentCulture.Name.Equals("en-US", StringComparison.OrdinalIgnoreCase));
CultureInfo.CurrentCulture = new CultureInfo("es-ES");
Assert.True(CultureInfo.CurrentCulture.Name.Equals("es-ES", StringComparison.OrdinalIgnoreCase)); inside the RunTest passed delegate? |
I moved the assertions also inside RunTest and around the ExecuteNonQuery call shown in the above call stack. It didn't seem to produce a repro. cc: @saurabh500 |
@maryamariyan The changes you made above for a repro, only changes the locale for C# test |
Did you change the locale of the OS as well ? |
I changed the region locale to (Spanish - Spain). I'll see if there's more settings I need to change to get this repro. UPDATE:
It wasn't the system locale, since changing the locale below doesn't cause that repro:
|
Closing as this is not something we plan to fix. |
Found this issue while running OLEDB outerloop tests on the CI machines with Spanish locale. (Initially reported in PR dotnet/corefx#38024)
The failure seems to be in Spanish SKU of Windows: where a text file created in US locale cannot be read on other computers as a delimited file. (For more info check here)
cc: @tarekgh @saurabh500
The text was updated successfully, but these errors were encountered: