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
Running Test.cmd on a non english machine causes lots of unit tests to fail #23837
Comments
FYI. @jaredpar (compiler tests), @jinujoseph (IDE/Scripting tests) |
Also FYI @jasonmalinowski |
Update: Corrected the number of failures. I did a
|
Hmm, I wonder if our non-English test passes of the unit tests have caught up with our new localization process. Seems like some sort of break down has happened here. Following up internally to see what's happening. |
@dotnet/roslyn-infrastructure Can we have an Jenkins run that is non-english so we don't regress this once its fixed? |
@jmarolf that is my intuition on how to fix this. But i'm not sure how well it's going to play with our XLF file process. |
Assuming we are pulling the expected value from the resource file and the actual value is being given by the product, it should just work. (CC. @tmeschter, @nguerrera) |
Agreed with @tannergooding. And yes, now that we have actual loc we can actually test said loc. 😄 Any idea @jaredpar if somebody already has a non-en-US image already setup in Jenkins we could piggy back off of? |
@tannergooding Yes, I expect that most of these are issues where the test is hard-coding a value that it should instead be reading from the resources. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@iSeiryu That would be an unrelated issue. I'm going to collapse the comments since they are off-topic for this issue, but please feel free to create a new issue with the content. |
Version Used:
Latest master at commit 69e99a8
Steps to Reproduce:
Run
Test.cmd
with a non english locale.Expected Behavior:
All tests pass without errors.
Actual Behavior:
26 out of 41 test assemblies fail with errors. There were already about five failing tests in the past because of localization problems but since the introduction of xlf the situation got unbearable with hundreds of failing tests. I'm not sure but I think PR #23744 is to blame.
Attached you can find the UnitTestResults.zip
In the current situation I'm not able to run all tests locally to find regressions before committing. Maybe xUnit should be forced to use the en-US locale.
The text was updated successfully, but these errors were encountered: