Skip to content

Commit

Permalink
Set default NUM_MACHINES for dynamic parallel via TEST_TIME (adoptium…
Browse files Browse the repository at this point in the history
…#5629)

Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia authored Sep 18, 2024
1 parent 0ecfd1d commit 62e6975
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 62e6975

Please sign in to comment.