HBASE-19901 Up yetus proclimit on nightlies; ADDENDUM -- up proclimit from 6k to 10k and set Docker memory limit of 20G (default is 4G)
This commit is contained in:
parent
6a1ed25581
commit
fe6c06ad6c
|
@ -65,10 +65,13 @@ 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.
|
# Yetus 0.7.0 enforces limits. Default proclimit is 1000.
|
||||||
# Default proclimit is 1000. Up it.
|
# Up it. See HBASE-19902 for how we arrived at this number.
|
||||||
# We seem to use close to 3k.
|
PROCLIMIT=10000
|
||||||
PROCLIMIT=5000
|
|
||||||
|
# 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.
|
||||||
|
|
|
@ -68,6 +68,7 @@ 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=("--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 '.-' '_')
|
||||||
|
|
Loading…
Reference in New Issue