jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1806298 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
Date Sat, 26 Aug 2017 13:47:22 GMT
Author: pmouawad
Date: Sat Aug 26 13:47:22 2017
New Revision: 1806298

URL: http://svn.apache.org/viewvc?rev=1806298&view=rev
Log:
Ensure cleanup is done

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java?rev=1806298&r1=1806297&r2=1806298&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/HttpMetricsSender.java
Sat Aug 26 13:47:22 2017
@@ -198,15 +198,15 @@ class HttpMetricsSender extends Abstract
                     public void cancelled() {
                         log.warn("Request to influxDB server was cancelled");
                     }
-                });
-               
+                });               
             }catch (URISyntaxException ex ) {
                 log.error(ex.getMessage());
+            } finally {
+                // We drop metrics in all cases
+                copyMetrics.clear();
             }
         }
 
-        // We drop metrics in all cases
-        copyMetrics.clear();
     }
 
     /**



Mime
View raw message