Skip to content

Conversation

@holgerfriedrich
Copy link
Contributor

@holgerfriedrich holgerfriedrich commented Sep 29, 2025

Error messages including the root cause are now being printed in case the test is failing.

Example error message when commons-lang3 version did not match the feature:

[INFO]   junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected text value 'mvn:org.apache.commons/commons-lang3/3.4' but was 'mvn:org.apache.commons/commons-lang3/3.18.0' - comparing <bundle ...>mvn:org.apache.commons/commons-lang3/3.4</bundle> at /features[1]/feature[1]/bundle[1]/text()[1] to <bundle ...>mvn:org.apache.commons/commons-lang3/3.18.0</bundle> at /features[1]/feature[1]/bundle[1]/text()[1]

Error messages including the root cause are now being printed in case the test is failing.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@jbonofre jbonofre self-requested a review September 30, 2025 05:55
@jbonofre jbonofre merged commit b217022 into apache:main Sep 30, 2025
1 check passed
jbonofre pushed a commit to jbonofre/karaf that referenced this pull request Sep 30, 2025
Error messages including the root cause are now being printed in case the test is failing.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich holgerfriedrich deleted the pr-tests branch September 30, 2025 16:29
jbonofre added a commit that referenced this pull request Oct 5, 2025
Error messages including the root cause are now being printed in case the test is failing.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
MrEasy pushed a commit to seeburger-ag/karaf that referenced this pull request Nov 10, 2025
…pache#2077)

Error messages including the root cause are now being printed in case the test is failing.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants