hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1463472 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java
Date Tue, 02 Apr 2013 10:23:10 GMT
Author: olegk
Date: Tue Apr  2 10:23:10 2013
New Revision: 1463472

URL: http://svn.apache.org/r1463472
Log:
HTTPCLIENT-1331: made timeout value less aggressive

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java?rev=1463472&r1=1463471&r2=1463472&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestFutureRequestExecutionService.java
Tue Apr  2 10:23:10 2013
@@ -56,7 +56,7 @@ import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
 
-public class HttpClientWithFutureTest {
+public class TestFutureRequestExecutionService {
 
     private LocalTestServer localServer;
     private String uri;
@@ -143,7 +143,7 @@ public class HttpClientWithFutureTest {
         }
         final CountingCallback callback = new CountingCallback();
         httpAsyncClientWithFuture.executeMultiple(null,
-            new OkidokiHandler(), callback , 1000, TimeUnit.MILLISECONDS, requests);
+            new OkidokiHandler(), callback , 10, TimeUnit.SECONDS, requests);
         Assert.assertEquals(100, callback.completed);
         Assert.assertEquals(0, callback.cancelled);
         Assert.assertEquals(0, callback.failed);



Mime
View raw message