jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From und...@apache.org
Subject svn commit: r1655987 - /jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java
Date Fri, 30 Jan 2015 11:08:26 GMT
Author: undera
Date: Fri Jan 30 11:08:25 2015
New Revision: 1655987

URL: http://svn.apache.org/r1655987
Log:
Bug 57500 - Introduce retry behavior for remote testing / fix test

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java?rev=1655987&r1=1655986&r2=1655987&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/engine/DistributedRunnerTest.java Fri Jan 30 11:08:25
2015
@@ -69,7 +69,11 @@ public class DistributedRunnerTest exten
         JMeterUtils.setProperty(DistributedRunner.CONTINUE_ON_FAIL, "true");
         DistributedRunnerEmul obj = new DistributedRunnerEmul();
         List<String> hosts = Arrays.asList("test1", "test2");
-        obj.init(hosts, new HashTree());
+        try {
+            obj.init(hosts, new HashTree());
+            fail();
+        } catch (RuntimeException ignored) {
+        }
         obj.start();
         obj.shutdown(hosts);
         obj.stop(hosts);
@@ -97,7 +101,11 @@ public class DistributedRunnerTest exten
         JMeterUtils.setProperty(DistributedRunner.CONTINUE_ON_FAIL, "true");
         DistributedRunnerEmul obj = new DistributedRunnerEmul();
         List<String> hosts = Arrays.asList("test1", "test2");
-        obj.init(hosts, new HashTree());
+        try {
+            obj.init(hosts, new HashTree());
+            fail();
+        } catch (RuntimeException ignored) {
+        }
         obj.start(hosts);
         obj.shutdown(hosts);
         obj.stop(hosts);



Mime
View raw message