You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2017/07/04 12:40:37 UTC

flink git commit: [FLINK-7039] [build] Increase forkCountTestPackage for sudo-enabled TravisCI

Repository: flink
Updated Branches:
  refs/heads/release-1,3 [created] 0cd764486


[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.


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

Branch: refs/heads/release-1,3
Commit: 0cd764486c937fe96c3684138cf26c5651e71359
Parents: 5f4296e
Author: Greg Hogan <co...@greghogan.com>
Authored: Thu Jun 29 06:42:51 2017 -0400
Committer: zentol <ch...@apache.org>
Committed: Tue Jul 4 14:40:09 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/0cd76448/tools/travis_mvn_watchdog.sh
----------------------------------------------------------------------
diff --git a/tools/travis_mvn_watchdog.sh b/tools/travis_mvn_watchdog.sh
index d747f91..e2c38d4 100755
--- a/tools/travis_mvn_watchdog.sh
+++ b/tools/travis_mvn_watchdog.sh
@@ -44,8 +44,9 @@ 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.
-MVN="mvn -Dflink.forkCount=2 -Dflink.forkCountTestPackage=1 -B $PROFILE -Dlog.dir=${ARTIFACTS_DIR} -Dlog4j.configuration=file://$LOG4J_PROPERTIES clean install"
+# 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="mvn -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -B $PROFILE -Dlog.dir=${ARTIFACTS_DIR} -Dlog4j.configuration=file://$LOG4J_PROPERTIES clean install"
 
 MVN_PID="${ARTIFACTS_DIR}/watchdog.mvn.pid"
 MVN_EXIT="${ARTIFACTS_DIR}/watchdog.mvn.exit"