Skip to content

Commit af73b32

Browse files
committed
Set TZ for tests
1 parent 4758170 commit af73b32

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Barak Merimovich <barakme@gmail.com>
1818
Carlos Sanchez <carlos@apache.org>
1919
Dan Lo Bianco <dan.lobianco@cloudsoftcorp.com>
2020
Dmitry Durnev <ddurnev@griddynamics.com>
21+
Fritz Elfert <fritz-github@fritz-elfert.de>
2122
Hans Hrasna <hans.hrasna@gmail.com>
2223
Hunter Hutchinson <hunter.hutchinson@gmail.com>
2324
Ilja Bobkevic <ilja.bobkevic@gmail.com>

project/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,10 @@
542542
<configuration>
543543
<argLine>-Xmx512m -Xms256m -Djava.awt.headless=true -Xss256k</argLine>
544544
<parallel>tests</parallel>
545+
<forkCount>1</forkCount>
546+
<environmentVariables>
547+
<TZ>GMT</TZ> <!-- Some tests rely on TZ being GMT -->
548+
</environmentVariables>
545549
<threadCount>5</threadCount>
546550
<!-- note that the groups/excluded groups don't work due to some problem
547551
in surefire or testng. instead, we have to exclude via file path
@@ -560,6 +564,10 @@
560564
</executions>
561565
<configuration>
562566
<parallel>methods</parallel>
567+
<forkCount>1</forkCount>
568+
<environmentVariables>
569+
<TZ>GMT</TZ> <!-- Some tests rely on TZ being GMT -->
570+
</environmentVariables>
563571
<threadCount>5</threadCount>
564572
<!-- note that the groups/excluded groups don't work due to some problem
565573
in surefire or testng. instead, we have to exclude via file path

0 commit comments

Comments
 (0)