[ 
https://issues.apache.org/jira/browse/SUREFIRE-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Digana closed SUREFIRE-1859.
----------------------------------
      Assignee: Tibor Digana
    Resolution: Duplicate

> Latest version buffers all stdout, making it unreadable whilst tests are 
> running
> --------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1859
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1859
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M5
>            Reporter: Yaytay
>            Assignee: Tibor Digana
>            Priority: Major
>
> This test class:
> {code:java}
> public class StdoutIncrementTest {  
>   @Test
>   public void testOutput() throws Exception {
>     for (int i = 0; i < 1000; ++i) {
>       System.out.println("Iteration " + i);
>       Thread.sleep(1000);
>     }
>   } 
> }
> {code}
> With this configuration:
> {code:xml}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>3.0.0-M5</version>
>       </plugin>
> {code}
> there is no output whilst the test is running.
> With this configuration:
> {code:xml}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>3.0.0-M4</version>
>       </plugin>
> {code}
> the output comes out roughly once per second.
> This doesn't matter for running tests, but it makes debugging tests a real 
> pain.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to