flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-7039] [build] Increase forkCountTestPackage for sudo-enabled TravisCI
Date Tue, 11 Jul 2017 10:08:01 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.3 0a9706d79 -> dd3cde3b9


[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/dd3cde3b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/dd3cde3b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/dd3cde3b

Branch: refs/heads/release-1.3
Commit: dd3cde3b99923e7718e52a752155a810c4fd858e
Parents: 0a9706d
Author: Greg Hogan <code@greghogan.com>
Authored: Thu Jun 29 06:42:51 2017 -0400
Committer: zentol <chesnay@apache.org>
Committed: Tue Jul 11 12:07:40 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/dd3cde3b/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"


Mime
View raw message