Repository navigation
Run up to four JVMs per forked test task - #13559
gh-worker-dd-mergequeue-cf854d[bot] merged 22 commits into
Conversation
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
4bf17c3 to
2e8055f
Compare
Apply the master test-output reuse policy to the draft branch while validating the new fork count. Revert this commit before merging.
2e8055f to
c478884
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 64e43ea5c9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Mule test suites (MuleForkedTest, MuleHttpServerForkedTest, MuleHttpServerOTELEnabledForkedTest) can run concurrently with the new default Gradle worker count, but all forks share a single mule.base runtime directory and application name, so concurrent deployments and undeployments interfere with each other and cause flaky test failures. The fix is to set maxParallelForks = 1 for the relevant Mule tasks or provision a separate runtime directory per fork.
🤖 Bits Code Review · Commit 64e43ea
There was a problem hiding this comment.
The new fork default can make the two Synapse specs delete the same log directory concurrently, turning passing assertions into an intermittent teardown failure.
🤖 Bits Code Review · Commit c034c37
There was a problem hiding this comment.
More details
The PR enables four concurrent JVMs per forked task while preserving per-class isolation and Testcontainers overrides. Ignite, Liberty, and Mule fixtures are isolated; Synapse logs now use task temporary directories and resources load from the classpath. The earlier Mule race remains fixed, with no open findings.
🤖 Bits Code Review · Commit 3a62709
There was a problem hiding this comment.
Forked Gradle test tasks default to four concurrent JVMs, with a Testcontainers override, private Liberty and Mule runtimes, and unique Ignite endpoints. The Synapse teardown race remains fixed, but the new serial debugging example can reuse a previous parallel result without running any tests.
🤖 Bits Code Review · Commit 56a03dd
There was a problem hiding this comment.
Gradle defaults to up to four JVMs per forked test task, with fixture isolation and Ryuk cleanup in GitLab CI. The Synapse teardown fix remains in place, and the serial comparison now forces execution with --rerun. The renamed Testcontainers settings silently ignore existing fork and task limits.
🤖 Bits Code Review · Commit 4040b65
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
Build pipeline has failing jobs for 28c6f40: What to do next?
DetailsSince those jobs are not marked as being allowed to fail, the pipeline will most likely fail. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What Does This Do
Run up to four test JVMs concurrently in each Gradle forked test task, subject to the build's worker limit. Each test class still runs in a fresh JVM. Testcontainers modules can override the fork count with their existing setting.
Motivation
#13536 introduced parallel forks for Testcontainers modules. Other forked suites, such as Akka HTTP, still paid JVM startup and test harness setup serially for every class. The project-wide default lets those suites overlap that work.
Additional Notes
Use unique discovery endpoints for Ignite and private runtime directories for Liberty and Mule so concurrent fixtures can start independently.
Compared matching jobs from this branch and a recent
masterrun. Both runs executed tests fresh with the Gradle build cache enabled.Percentages compare summed durations. The published-artifacts job contributes only to job time because it invokes Gradle multiple times. Runner setup and cache reuse varied between runs. A focused local JDK 17 run of Akka HTTP's
baseForkedTestobserved four concurrent workers.Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: N/A