[improvement](build) Add build and unit test parallel options to run-fe-ut.sh#63316
Open
heguanhui wants to merge 1 commit into
Open
[improvement](build) Add build and unit test parallel options to run-fe-ut.sh#63316heguanhui wants to merge 1 commit into
heguanhui wants to merge 1 commit into
Conversation
…fe-ut.sh ### What problem does this PR solve? Issue Number: close #xxx Problem Summary: run-fe-ut.sh does not support build concurrency or unit test execution concurrency. The FE pom.xml already supports the fe_ut_parallel variable (via env.FE_UT_PARALLEL) to control maven-surefire-plugin forkCount, but run-fe-ut.sh never passes this variable, defaulting to 1 JVM for unit tests. This makes FE unit test execution very slow. ### Release note Add -j and -p options to run-fe-ut.sh to support build parallelism and unit test parallelism respectively. ### Check List (For Author) - Test: Manual test - Behavior changed: No - Does this need documentation: No
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
run-fe-ut.shdoes not support build concurrency or unit test execution concurrency. The FEpom.xmlalready supports thefe_ut_parallelvariable (viaenv.FE_UT_PARALLEL) to control maven-surefire-pluginforkCount, butrun-fe-ut.shnever passes this variable, defaulting to 1 JVM for unit tests. This makes FE unit test execution very slow.Release note
Add
-jand-poptions torun-fe-ut.shto support build parallelism and unit test parallelism respectively.-j <num>controls Maven build thread count (passed as-T), and-p <num>controls the number of forked JVMs for running unit tests (passed asFE_UT_PARALLELenv variable which maps toforkCountin maven-surefire-plugin).Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)