Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0.0-M5
-
None
-
None
Description
This test class:
public class StdoutIncrementTest { @Test public void testOutput() throws Exception { for (int i = 0; i < 1000; ++i) { System.out.println("Iteration " + i); Thread.sleep(1000); } } }
With this configuration:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> </plugin>
there is no output whilst the test is running.
With this configuration:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> </plugin>
the output comes out roughly once per second.
This doesn't matter for running tests, but it makes debugging tests a real pain.
Attachments
Issue Links
- duplicates
-
SUREFIRE-1827 The console output is not flushed
- Closed