Merge pull request #1269 from metamx/fix-travis-ci-heapsize

work around Travis CI not setting appropriate heap limits
This commit is contained in:
cheddar 2015-04-08 14:00:18 -07:00
commit 6127fee480
1 changed files with 2 additions and 1 deletions

View File

@ -611,7 +611,8 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<!-- locale settings must be set on the command line before startup --> <!-- locale settings must be set on the command line before startup -->
<argLine>-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine> <!-- set heap size to work around https://github.com/travis-ci/travis-ci/issues/3396 -->
<argLine>-Xmx1024m -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager</argLine>
<!-- our tests are very verbose, let's keep the volume down --> <!-- our tests are very verbose, let's keep the volume down -->
<redirectTestOutputToFile>true</redirectTestOutputToFile> <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration> </configuration>