HTTPCLIENT-1331: made timeout value less aggressive

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2013-04-02 10:23:10 +00:00
parent 0373fbed65
commit 5f5269f171
1 changed files with 2 additions and 2 deletions

View File

@ -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);