jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [jmeter] branch master updated: Drop test code
Date Sat, 02 Nov 2019 10:39:45 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 4758742  Drop test code
4758742 is described below

commit 475874255eba88cccc5c111d7d59f59be22d52ac
Author: Sebb <sebb@apache.org>
AuthorDate: Sat Nov 2 10:39:36 2019 +0000

    Drop test code
---
 .../org/apache/jmeter/protocol/http/control/DnsManagerTest.java  | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
index 5908faa..159c391 100644
--- a/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
+++ b/src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/control/DnsManagerTest.java
@@ -44,15 +44,6 @@ public class DnsManagerTest {
         dns.addServer("20.0.118.11");
         // By default it uses 3 retries (see org.xbill.DNS.ExtendedResolver#setRetries)
         dns.setTimeoutMs(2000);
-        try { // Temporary test: what do other hosts generate?
-            System.out.println("Testing localhost");
-            java.net.InetAddress[] ina;
-            ina = dns.resolve("localhost");
-            System.out.println(java.util.Arrays.toString(ina));
-        } catch (Exception e) {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
-        }
         HTTPSamplerBase http = HTTPSamplerFactory.newInstance(httpImplementation);
         http.setDNSResolver(dns);
         http.setMethod(HTTPSampler.GET);


Mime
View raw message