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

Test method/class name exceeding maximum lengths when test results are being processed. #100

Open
stovok0r opened this issue Dec 2, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@stovok0r
Copy link

stovok0r commented Dec 2, 2021

Users are running into hard limits on filename/test method name length when test results are being processed by this plugin. Can this limit be increased?

Example error with paths removed is below.

2021-11-21T21:58:03.356-0600 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: Fail to parse the Surefire report:
2021-11-21T21:58:03.356-0600 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: javax.xml.stream.XMLStreamException: Maximum attribute size limit (524288) exceeded

@TobiX TobiX added the bug Something isn't working label Dec 2, 2021
@TobiX
Copy link
Member

TobiX commented Dec 2, 2021

You have method/class names exceeding half a megabyte in size? That sounds... improbable. Could you share a (redacted) sample of the XML file which causes this? (Probably a surefire report going by the error message?!?)

@stovok0r
Copy link
Author

stovok0r commented Dec 2, 2021

First off, thank you for the quick response. Second, yes, I will work on redacting that file while leaving line lengths intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants