diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-28 19:59:34 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-28 19:59:50 +0100 |
commit | 9ed90faaa5871f3a582595e07c5ef0272db3c57f (patch) | |
tree | abec0495c0eb2299e9f878c0c1c0bf85b44b2ee1 /pom.xml | |
parent | fd74a7d27428ea3ea246bbc8aceb05b6f85b9547 (diff) | |
download | sonarqube-9ed90faaa5871f3a582595e07c5ef0272db3c57f.tar.gz sonarqube-9ed90faaa5871f3a582595e07c5ef0272db3c57f.zip |
Remove coupling of unit tests on european timezone
-> force tests to be executed in GMT-4.
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -481,7 +481,11 @@ <artifactId>maven-surefire-plugin</artifactId> <configuration> <runOrder>random</runOrder> - <argLine>-Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=128m</argLine> + <!-- + user.locale is overridden: timezone is forced to an arbitrary value (GMT-4) to be sure that + tests do not depend on developers timezone + --> + <argLine>-Xmx512m -Djava.awt.headless=true -XX:MaxPermSize=128m -Duser.locale=EST5EDT</argLine> <redirectTestOutputToFile>true</redirectTestOutputToFile> <systemPropertyVariables> <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |