-
Notifications
You must be signed in to change notification settings - Fork 1.1k
build: use matrix for split unit tests #12127
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
base: main
Are you sure you want to change the base?
Changes from all commits
c334932
b0200e5
28291b0
aaf6361
9e02234
13f729c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -43,6 +43,9 @@ case ${JOB_TYPE} in | |||||||||||||
| install_modules "${BUILD_SUBDIR}" | ||||||||||||||
| echo "Running in subdir: ${BUILD_SUBDIR}" | ||||||||||||||
| pushd "${BUILD_SUBDIR}" | ||||||||||||||
| EXTRA_PROFILE_OPT="" | ||||||||||||||
| else | ||||||||||||||
| EXTRA_PROFILE_OPT="-PbulkTests" | ||||||||||||||
|
Comment on lines
+46
to
+48
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To handle optional arguments more robustly in bash, it's better to use an array. This avoids potential word-splitting issues. This converts
Suggested change
|
||||||||||||||
| fi | ||||||||||||||
| echo "SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT}" | ||||||||||||||
| retry_with_backoff 3 10 \ | ||||||||||||||
|
|
@@ -56,7 +59,7 @@ case ${JOB_TYPE} in | |||||||||||||
| -Dflatten.skip=true \ | ||||||||||||||
| -Danimal.sniffer.skip=true \ | ||||||||||||||
| -Dmaven.wagon.http.retryHandler.count=5 \ | ||||||||||||||
| -T 1C ${SUREFIRE_JVM_OPT} | ||||||||||||||
| -T 1C ${SUREFIRE_JVM_OPT} ${EXTRA_PROFILE_OPT} | ||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To correctly expand the
Suggested change
|
||||||||||||||
| RETURN_CODE=$? | ||||||||||||||
|
|
||||||||||||||
| if [[ -n "${BUILD_SUBDIR}" ]] | ||||||||||||||
|
|
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Java 8?