flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [6/7] flink git commit: [FLINK-7039] [build] Increase forkCountTestPackage for sudo-enabled TravisCI
Date Tue, 04 Jul 2017 12:35:29 GMT
[FLINK-7039] [build] Increase forkCountTestPackage for sudo-enabled TravisCI

The switch from the container-based to sudo-enabled environment in
TravisCI has increased available memory from 4 GB to 7.5 GB so use a
forkCount of 2 in all packages including flink-test.

This closes #4222.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c59537ee
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c59537ee
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c59537ee

Branch: refs/heads/master
Commit: c59537eebc7251e3078553d84271597bb720b518
Parents: c9f659e
Author: Greg Hogan <code@greghogan.com>
Authored: Thu Jun 29 06:42:51 2017 -0400
Committer: zentol <chesnay@apache.org>
Committed: Tue Jul 4 12:33:32 2017 +0200

----------------------------------------------------------------------
 tools/travis_mvn_watchdog.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c59537ee/tools/travis_mvn_watchdog.sh
----------------------------------------------------------------------
diff --git a/tools/travis_mvn_watchdog.sh b/tools/travis_mvn_watchdog.sh
index 9733866..f3c1699 100755
--- a/tools/travis_mvn_watchdog.sh
+++ b/tools/travis_mvn_watchdog.sh
@@ -44,9 +44,10 @@ SLEEP_TIME=20
 LOG4J_PROPERTIES=${HERE}/log4j-travis.properties
 
 # Maven command to run. We set the forkCount manually, because otherwise Maven sees too many
cores
-# on the Travis VMs.
+# on the Travis VMs. Set forkCountTestPackage to 1 for container-based environment (4 GiB
memory)
+# and 2 for sudo-enabled environment (7.5 GiB memory).
 MVN_LOGGING_OPTIONS="-Dlog.dir=${ARTIFACTS_DIR} -Dlog4j.configuration=file://$LOG4J_PROPERTIES
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
-MVN="mvn -Dflink.forkCount=2 -Dflink.forkCountTestPackage=1 -Dmaven.javadoc.skip=true -B
$PROFILE $MVN_LOGGING_OPTIONS clean install"
+MVN="mvn -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -Dmaven.javadoc.skip=true -B
$PROFILE $MVN_LOGGING_OPTIONS clean install"
 
 MVN_PID="${ARTIFACTS_DIR}/watchdog.mvn.pid"
 MVN_EXIT="${ARTIFACTS_DIR}/watchdog.mvn.exit"


Mime
View raw message