We have a concurrency bug in HttpCore 4.3.1 which will be addressed after HttpClient 4.3.2 is released.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1558386 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff8896bf71
commit
205258b1f9
|
@ -43,6 +43,7 @@ import org.apache.http.localserver.LocalServerTestBase;
|
||||||
import org.apache.http.localserver.LocalTestServer;
|
import org.apache.http.localserver.LocalTestServer;
|
||||||
import org.apache.http.util.EntityUtils;
|
import org.apache.http.util.EntityUtils;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class TestIdleConnectionEviction extends LocalServerTestBase {
|
public class TestIdleConnectionEviction extends LocalServerTestBase {
|
||||||
|
@ -55,6 +56,7 @@ public class TestIdleConnectionEviction extends LocalServerTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("We have a concurrency bug in HttpCore which will be addressed after HttpClient 4.3.2 is released")
|
||||||
public void testIdleConnectionEviction() throws Exception {
|
public void testIdleConnectionEviction() throws Exception {
|
||||||
final PoolingHttpClientConnectionManager cm = new PoolingHttpClientConnectionManager();
|
final PoolingHttpClientConnectionManager cm = new PoolingHttpClientConnectionManager();
|
||||||
cm.setDefaultMaxPerRoute(10);
|
cm.setDefaultMaxPerRoute(10);
|
||||||
|
|
Loading…
Reference in New Issue