aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-03-28 19:59:34 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-03-28 19:59:50 +0100
commit9ed90faaa5871f3a582595e07c5ef0272db3c57f (patch)
treeabec0495c0eb2299e9f878c0c1c0bf85b44b2ee1 /pom.xml
parentfd74a7d27428ea3ea246bbc8aceb05b6f85b9547 (diff)
downloadsonarqube-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.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index d7a92dcf1de..e8597804995 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>