Skip to content

Fix JFR profile summary skip check#15997

Open
iprithv wants to merge 2 commits intoapache:mainfrom
iprithv:jfr-profile-summary-skip-check
Open

Fix JFR profile summary skip check#15997
iprithv wants to merge 2 commits intoapache:mainfrom
iprithv:jfr-profile-summary-skip-check

Conversation

@iprithv
Copy link
Copy Markdown
Contributor

@iprithv iprithv commented Apr 29, 2026

Description

fixes #15983 (comment)

showJfrProfileSummary used Test.getState().getDidWork() to decide whether any test task failed. This can be false for skipped/up-to-date/not-selected tasks even when nothing failed, causing the profile summary to be skipped incorrectly.

Used Test.getState().getFailure() == null instead so the profile summary is skipped only when a test task actually failed.

Signed-off-by: prithvi <prithvisivasankar@gmail.com>
@iprithv
Copy link
Copy Markdown
Contributor Author

iprithv commented Apr 29, 2026

don't have permissions to add skip-changelog, please someone help adding. Thanks!

Signed-off-by: prithvi <prithvisivasankar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant