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

Etienne Chauchot commented on FLINK-17213:
------------------------------------------

To set the $LANG variable at the system level, the only thing that worked is 
setting $LANG environment variable in the shell and launch the build with 
maven. But I prefer having the maven build autonomous and not rely on an 
external script so I tried calling a bash script that exports the variable from 
a maven plugin tied to the compile or test phases, but it does not work. I must 
admit I don't find any good way to fix this.

> 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)

Reply via email to