Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v1.0.4-release) Set default NUM_MACHINES for dynamic parallel via TEST_TIME #5629

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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