You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gianm (via GitHub)" <gi...@apache.org> on 2026/08/21 19:59:32 UTC

[I] StatelessXmlReporter + ParameterizedClass leads to quadratic writes [maven-surefire]

gianm opened a new issue, #3439:
URL: https://github.com/apache/maven-surefire/issues/3439

   ### Affected version
   
   3.5.6
   
   ### Bug description
   
   Observed with JUnit 5.14.3: runtime of a test file that uses `ParameterizedClass` grows dramatically as the number of parameterized test sets gets into the hundreds and beyond. Rewriting the test file to use `ParameterizedTest` reduces the runtime back to a reasonable level.
   
   From looking at the output directory while the test suite is running, it seems like the `TEST-<class>.xml` is getting continuously rewritten to be slightly larger each time a test set runs. The growth in runtime combined with this observation suggests that quadratic writes are happening. Perhaps something could be adjusted to write out the report for each test set just once, and then combine them when they're all done.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org