hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1748358 - /httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
Date Tue, 14 Jun 2016 08:42:54 GMT
Author: olegk
Date: Tue Jun 14 08:42:54 2016
New Revision: 1748358

URL: http://svn.apache.org/viewvc?rev=1748358&view=rev
Log:
Use non-routable 0.0.0.0 instead of '.invalid' hostname to simulate refused connection exception

Modified:
    httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java

Modified: httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java?rev=1748358&r1=1748357&r2=1748358&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
(original)
+++ httpcomponents/httpasyncclient/branches/4.1.x/httpasyncclient/src/test/java/org/apache/http/nio/client/integration/TestHttpAsyncPrematureTermination.java
Tue Jun 14 08:42:54 2016
@@ -242,7 +242,7 @@ public class TestHttpAsyncPrematureTermi
                 .build();
         this.httpclient.start();
 
-        final HttpGet get = new HttpGet("http://stuff.invalid/");
+        final HttpGet get = new HttpGet("http://0.0.0.0/");
         final HttpAsyncRequestProducer producer = HttpAsyncMethods.create(get);
 
         final AtomicBoolean closed = new AtomicBoolean(false);



Mime
View raw message