maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1041455 - /maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java
Date Thu, 02 Dec 2010 17:02:49 GMT
Author: krosenvold
Date: Thu Dec  2 17:02:48 2010
New Revision: 1041455

URL: http://svn.apache.org/viewvc?rev=1041455&view=rev
Log:
o Let's see if this will fix the transient test failure on grid

Modified:
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java?rev=1041455&r1=1041454&r2=1041455&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractTextReporter.java
Thu Dec  2 17:02:48 2010
@@ -215,4 +215,12 @@ public abstract class AbstractTextReport
         return message.startsWith( TEST_SET_COMPLETED_PREFIX );
     }
 
+    public void reset()
+    {
+        super.reset();
+        if ( writer != null )
+        {
+            writer.flush();
+        }
+    }
 }



Mime
View raw message