HBASE-19901 HBASE-19901 Up yetus proclimit on nightlies; REAPPLY TO TEST

This commit is contained in:
Michael Stack 2018-02-01 20:26:46 -08:00
parent efed668f74
commit 1dc640c296
2 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,14 @@ function personality_globals
# Override the maven options # Override the maven options
MAVEN_OPTS="${MAVEN_OPTS:-"-Xmx3100M"}" MAVEN_OPTS="${MAVEN_OPTS:-"-Xmx3100M"}"
# Yetus 0.7.0 enforces limits. Default proclimit is 1000.
# Up it. See HBASE-19902 for how we arrived at this number.
PROCLIMIT=10000
# Set docker container to run with 20g. Default is 4g in yetus.
# See HBASE-19902 for how we arrived at 20g.
DOCKERMEMLIMIT=20g
} }
## @description Parse extra arguments required by personalities, if any. ## @description Parse extra arguments required by personalities, if any.

View File

@ -67,6 +67,8 @@ YETUS_ARGS=("--whitespace-tabs-ignore-list=${WHITESPACE_IGNORE_LIST}" "${YETUS_A
YETUS_ARGS=("--sentinel" "${YETUS_ARGS[@]}") YETUS_ARGS=("--sentinel" "${YETUS_ARGS[@]}")
YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}") YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}")
YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}") YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}")
YETUS_ARGS=("--proclimit=${PROCLIMIT}" "${YETUS_ARGS[@]}")
YETUS_ARGS=("--dockermemlimit=${DOCKERMEMLIMIT}" "${YETUS_ARGS[@]}")
# Currently, flaky list is calculated only for master branch. # Currently, flaky list is calculated only for master branch.
UNDERSCORED_BRANCH_NAME=$(echo ${BRANCH_NAME} | tr '.-' '_') UNDERSCORED_BRANCH_NAME=$(echo ${BRANCH_NAME} | tr '.-' '_')