This issue has become a productivity loss nightmare for me. Debugger shows
that System.err is set to:

org.apache.maven.surefirereport.ConsoleOutputCapture$ForwardingPrintStream

Using useFile plugin config param with value false has no effect and
System.err is still redirected.

What magic do I need to make sure that System.err does not get redirected?

Please help me out of this hole. Thanks.


Kristian Rosenvold-4 wrote:
> 
> There were some changes in the capture/buffering algorithm for test 
> output for surefire 2.9, which might be what you are seeing. If you are 
> running your tests in parallel,
> this is the intended behaviour, but I assume there might have been some 
> change in the serial run-mode too, which is probably unintentional. This 
> is not the
> kind of stuff our (extensive) test-cases would spot, since the end 
> behaviour is correct.
> 
> I think you should file an issue for this at 
> http://jira.codehaus.org/browse/SUREFIRE, preferably attaching a small 
> sample project that demonstrates the problem.
> 
> You can use this project as a template for creating an example project 
> https://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources/junit47-redirect-output*
> 
> 
> Kristian
> 
> *
> 


--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-surefire-plugin-redirecting-System-err-and-showing-delayed-output-from-junit-tests-tp4873335p4961403.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to