Skip to content

Fix ForkCountIT failing on Windows with Maven 3.10.0 - #3509

Merged
olamy merged 1 commit into
apache:masterfrom
olamy:fix/forkcount-it-windows-lock
Oct 4, 2026
Merged

olamy merged 1 commit into
apache:masterfrom
olamy:fix/forkcount-it-windows-lock

Conversation

@olamy

@olamy olamy commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

ForkCountIT and ForkCountTestNGIT ran at the same time and both installed the dump-pid plugin.
On Windows the second install fails while the other build still has the jar open.
Both projects now run from ForkCountIT, so the plugin is only installed once.

Signed-off-by: Olivier Lamy olamy@apache.org


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy added build Pull requests that change the build process maintenance labels Oct 4, 2026
@olamy olamy mentioned this pull request Oct 4, 2026
1 of 2 tasks
@olamy olamy added this to the 3.6.1 milestone Oct 4, 2026
@olamy olamy self-assigned this Oct 4, 2026
@olamy
olamy requested a review from slawekjaranowski October 4, 2026 05:41
@olamy
olamy merged commit 80b1f78 into apache:master Oct 4, 2026
15 checks passed
@olamy
olamy deleted the fix/forkcount-it-windows-lock branch October 4, 2026 06:00
slawekjaranowski pushed a commit to slawekjaranowski/maven-surefire that referenced this pull request Oct 18, 2026
Signed-off-by: Olivier Lamy <olamy@apache.org>
(cherry picked from commit 80b1f78)
slawekjaranowski added a commit that referenced this pull request Oct 22, 2026
* Fix ITs for Maven 3.10.0 (#3508)

(cherry picked from commit cfaab00)

* Fix ForkCountIT failing on Windows with Maven 3.10.0 (#3509)

Signed-off-by: Olivier Lamy <olamy@apache.org>
(cherry picked from commit 80b1f78)

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant