Skip to content

Commit

Permalink
Set default NUM_MACHINES for dynamic parallel via TEST_TIME
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia committed Sep 18, 2024
1 parent 0c3f98b commit 358678d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ def setupParallelEnv() {
echo "Regenerate parallel list with NUM_MACHINES=${MAX_NUM_MACHINES}."
PARALLEL_OPTIONS = PARALLEL_OPTIONS_TEMP + " NUM_MACHINES=${MAX_NUM_MACHINES} TEST_TIME="
NUM_LIST = genParallelList(PARALLEL_OPTIONS)
} else if (NUM_LIST < 6 && env.JDK_IMPL == "openj9" && (TARGET == "extended.jck" || TARGET == "special.system")) {
echo "NUM_LIST value ${NUM_LIST} may not be calculated based on the actual execution time."
echo "Regenerate parallel list with NUM_MACHINES=6 for TARGET ${TARGET}."
PARALLEL_OPTIONS = PARALLEL_OPTIONS_TEMP + " NUM_MACHINES=6 TEST_TIME="
NUM_LIST = genParallelList(PARALLEL_OPTIONS)
}
} else {
PARALLEL_OPTIONS += " TEST_TIME= NUM_MACHINES="
Expand Down

0 comments on commit 358678d

Please sign in to comment.