This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 5db1878b63517c13c2f3ce634e161803c15b2c65
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Wed Oct 16 18:31:01 2019 +0300

    Add NoRouteToHostException as known valid outcome of 
ParallelResourcesAndIpSource
---
 .../jmeter/protocol/http/sampler/ParallelResourcesAndIpSource.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/ParallelResourcesAndIpSource.java
 
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/ParallelResourcesAndIpSource.java
index 8b71566..789e6d7 100644
--- 
a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/ParallelResourcesAndIpSource.java
+++ 
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/sampler/ParallelResourcesAndIpSource.java
@@ -181,6 +181,8 @@ public class ParallelResourcesAndIpSource {
             } else if (result.isSuccessful() || result.isResponseCodeOK() ||
                     
!(result.getResponseDataAsString().contains("ConnectException") ||
                             
result.getResponseDataAsString().contains("BindException") ||
+                            // java.net.NoRouteToHostException: No route to 
host
+                            
result.getResponseDataAsString().contains("NoRouteToHostException") ||
                             
result.getResponseDataAsString().contains("SocketException"))) {
                 Assertions.fail("IPv4 <-> IPv6 connectivity must fail." +
                         " sourceIp = " + sourceIp + ", targetHost = " + 
targetHost +

Reply via email to