Skip to content

Conversation

@mbien
Copy link
Member

@mbien mbien commented May 28, 2025

Test session was never set to finished when EventSpy was not active. EventSpy is currently disabled when multi threaded builds are detected and mvnd is multi threaded by default (unless e.g -Dmvnd.serial is set). This caused the test window to think tests are still running.

This adds a fallback to signal session completion.

see apache/maven-mvnd#1333

second regression since #7979 (first: #8433)

Test session was never set to finished when EventSpy was not active.
EventSpy is currently disabled when multi threaded builds are detected
and mvnd is multi threaded by default. This caused the test window
to think tests are still running.

This adds a fallback to signal session completion.
@mbien mbien added this to the NB27 milestone May 28, 2025
@mbien mbien added Maven [ci] enable "build tools" tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels May 28, 2025
@mbien mbien added the Regression This used to work! label May 28, 2025
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only eyeballed this, but looks sane to me.

#3995 might need to touch this area too, so it might be good to get the fix in.

@mbien mbien merged commit ae71855 into apache:master Jun 1, 2025
33 checks passed
@homberghp
Copy link
Contributor

Verifying that solution works.

while working with the file JUnitOutputListenerProvider.java I noticed a change relevant to this issue,
so I ran it with mvnd out of curiosity. It now behaves as it should.
Bravo and thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Maven [ci] enable "build tools" tests Regression This used to work!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants