Tibor17 commented on pull request #343: URL: https://github.com/apache/maven-surefire/pull/343#issuecomment-814475321
Due to it is difficult to confirm that the `InputStream` from `System.in` was closed by the ClassRule. It can be confirmed in the console aplication if you run the JUnit4 engine via `new JUnitCore().run(JmxRemoteTest.class)`. If you extend `InputStream` and override the method `close()` and debug it or print a message there and set it to `java.lang.System.setIn(...)` then you can investigate like this and also the stack trace and root cause. -- 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