Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review: feat: Do not trim surefire stacktraces #4675

Merged

Conversation

I-Al-Istannen
Copy link
Collaborator

This ensures CI logs actually show you all information about failures instead of only the topmost few frames.

Found as the CI runs in #4672 were utterly useless. The real error was a lot further down and only found as java 17 included the variable name in the null pointer explanation.

Example before: https://github.com/INRIA/spoon/runs/5960899222?check_suite_focus=true#step:10:419

Example after: https://github.com/INRIA/spoon/runs/5960957519?check_suite_focus=true#step:10:720

This option will also be the default in upcoming surefire releases (starting with 3.0.0-M6). I can also update the surefire plugin instead of configuring this, if you want.

This ensures CI logs actually show you all information about failures
instead of only the topmost few frames.
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

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

Thanks @I-Al-Istannen, will merge.

@slarse slarse merged commit 5f3ac87 into INRIA:master Apr 11, 2022
@I-Al-Istannen I-Al-Istannen deleted the feat/show-stacktraces-in-surefire branch April 12, 2022 10:03
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