Skip to content

Commit

Permalink
maven: set maven surefire locale to en_US
Browse files Browse the repository at this point in the history
Since meging #316 `mvn test` failed on systems with non US locales, due
to some tests expecting numbers to be formated according to US locale.

This fixes the locale for running the tests to `en_US` s.t. the tests
will run through regardless of the developer's locale.
  • Loading branch information
wirew0rm committed Dec 16, 2020
1 parent 582a499 commit ef4a975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
<!-- which jacoco will not instrument. Hence it is important
to add -->
<!-- those command-line params here (${argLine} holds those params) -->
<argLine>${argLine} -Xms256m -Xmx2048m -XX:G1HeapRegionSize=32m -Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw</argLine>
<argLine>${argLine} -Duser.language=en -Duser.country=US -Xms256m -Xmx2048m -XX:G1HeapRegionSize=32m -Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw</argLine>
<forkCount>1</forkCount>
<rerunFailingTestsCount>3</rerunFailingTestsCount>
<runOrder>random</runOrder>
Expand Down

0 comments on commit ef4a975

Please sign in to comment.