Tibor17 edited a comment on issue #256: repackaged external artifacts (utilities) with no duplicates and use in extensions-api with Commandline URL: https://github.com/apache/maven-surefire/pull/256#issuecomment-562083080 @jon-bell The problem is a little different from sending serious data. Our ITs fail because closed stream does not see the errors sent when JVM could not start up. This may include serious issues with JVM (class not found) and in our ITs we expect error message from JVM saying that 700000MB Xmx cannot be allocated. It s a kind of race condition on the JVM when `Process.waitFor` has returned with non-zero int and the streams are closed in the same thread T1 however the thread T2 did not have a chance to read out all bytes completely. This was happening with the `maven-shared-utils` library as well but it was not visible so often due to the `Process.waitFor` was called every 10 millis.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services