Reputation: 327
I have setup maven and surefire for running unit tests. The test classes are configured to run in parallel; i.e. classes
Sometimes when I run "mvn test", some tests fail with a timeout. However, surefire doesn't log which tests were running when the timeout happened. It only logs details of tests that completed.
The timeout seems to be some kind of a deadlock and doesn't reproduce always.
How does one find out which tests were running when the timeout happened? Is there a way to change the log level of surefire itself so that it dumps some messages when it starts running test from a new class?
I am using: Java: 1.6, Maven: 3.0.3, Surefire: 2.14
Upvotes: 3
Views: 3110