[ https://issues.apache.org/jira/browse/FLINK-17213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087757#comment-17087757 ]
Etienne Chauchot commented on FLINK-17213: ------------------------------------------ Just a quick update. I tried several things: putting the locale in surefire config in either command line or system properties and also tried to set it in the unit test and no solution worked. Then I realized that the test I was running calls the low level JVM internal {code:java} native boolean createFileExclusively(String path){code} which makes no use of the java locale. So, to make flink tests nonsensitive to the language, I need to set a system variable $LC_ALL to en_US.UTF-8. I'm searching for a good place to set and unset such a variable during the build and I submit the PR. > Surefire configuration should override locale > ---------------------------------------------- > > Key: FLINK-17213 > URL: https://issues.apache.org/jira/browse/FLINK-17213 > Project: Flink > Issue Type: Improvement > Components: Tests > Reporter: Etienne Chauchot > Assignee: Etienne Chauchot > Priority: Major > > Some tests (this one for ex BlobServerGetTest.testGetFailsIncomingForJobHa) > expect exceptions and expect a certain message which is in English. For users > whose system locale is not English, the tests fail. So surefire should > configure the local to US so that these tests pass for every user no matter > his system locale. -- This message was sent by Atlassian Jira (v8.3.4#803005)