Repository navigation
Speed up the integration tests - #1411
Merged
Merged
Conversation
Each IT is a Maven run of a few seconds, where C2 compilation and the parallel GC cost more startup time than they save. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The serial Windows profile dates from 2024, with no record of which ITs failed in parallel, and made the Windows jobs with Maven 4 hit the old 30-minute timeout. If an IT breaks here, fix or isolate that IT rather than restoring the profile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
slachiewicz
marked this pull request as ready for review
October 10, 2026 08:51
This was referenced Oct 10, 2026
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.
Each IT is a separate Maven run of a few seconds (278 runs for 249 ITs), so the time goes to JVM startup, and Windows ran them one at a time.
-XX:TieredStopAtLevel=1 -XX:+UseSerialGCthroughJAVA_TOOL_OPTIONS. It is set as an invoker environment variable because 52 ITs set their owninvoker.mavenOpts, which replaces a globalmavenOpts. Both flags exist on JDK 8.windowsprofile that forcedinvoker.parallelThreads=1is removed. It came with Build ITs in parallelย #1088 in 2024 without a record of which ITs failed in parallel; none fail in parallel now.<debug>true</debug>stays: turning it off made no measurable difference. Cachingtarget/local-repowould not help either: it is 55 MB, and in CI the first ITs are no slower than the rest.Results on master, the run before this change and the run after it:
Verified:
mvn -P run-its verifyon 69 ITs (Linux, Maven 3.9.16, JDK 21, one thread) โ 258 s of IT time before, 176 s after; full suite โPassed: 246, Failed: 0, Errors: 0, Skipped: 1.