HBASE-23779 Up the default fork count; make count relative to CPU count (#1108)

FINAL ADDENDUM. Removes changes to dev-support/hbase-personality
 leaving it as it was. All else about HBASE-23779 change remains
 changing surefire fork counts to be dependent on cpu count.
This commit is contained in:
stack 2020-02-07 15:53:15 -08:00
parent ef380e0a2e
commit d554689cc4
1 changed files with 1 additions and 5 deletions

View File

@ -140,11 +140,7 @@ function personality_modules
clear_personality_queue
# Pass maven a -T argument. Should make it run faster. Pass conservative value.
# Default is one thread. 0.5C on an apache box of 24 cores and 2 executors should
# make for 6 threads? Lets see. See below for more on -T:
# https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
extra="-T0.5C -DHBasePatchProcess"
extra="-DHBasePatchProcess"
if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
extra="${extra} -Dhttps.protocols=TLSv1.2"
fi