jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1619927 - in /jmeter/trunk: src/core/org/apache/jmeter/reporters/ResultCollector.java xdocs/changes.xml
Date Fri, 22 Aug 2014 20:47:22 GMT
Author: pmouawad
Date: Fri Aug 22 20:47:21 2014
New Revision: 1619927

URL: http://svn.apache.org/r1619927
Log:
Bug 56807 - Ability to force flush of ResultCollector file
Bugzilla Id: 56807

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java?rev=1619927&r1=1619926&r2=1619927&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/reporters/ResultCollector.java Fri Aug 22 20:47:21
2014
@@ -592,6 +592,16 @@ public class ResultCollector extends Abs
     }
 
     /**
+     * Flush PrintWriter to synchronize file contents
+     */
+    protected void flushFile() {
+        if (out != null) {
+            log.info("forced flush through ResultCollecto#flushFile");
+            out.flush();
+        }
+    }
+
+    /**
      * Flush PrintWriter, called by Shutdown Hook to ensure no data is lost
      */
     private static void flushFileOutput() {

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1619927&r1=1619926&r2=1619927&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Fri Aug 22 20:47:21 2014
@@ -247,6 +247,7 @@ jmeter.gui.action.LookAndFeelCommand: Us
 <li><bugzilla>56292</bugzilla> - Add the check of the Java's version in
startup files and disable some options when is Java v8 engine</li>
 <li><bugzilla>56298</bugzilla> - JSR223 language display does not show
which engine will be used</li>
 <li><bugzilla>56455</bugzilla> - Batch files: drop support for non-NT Windows
shell scripts</li>
+<li><bugzilla>56807</bugzilla> - Ability to force flush of ResultCollector
file</li>
 </ul>
 
 <ch_section>Non-functional changes</ch_section>



Mime
View raw message