-
Sub-task
-
Resolution: Done
-
Major
-
3.0.12.Final
-
None
-
None
org.jboss.resteasy.test.client.ApacheHttpClient4Test.testConnectionCleanupGC fais with java.lang.AssertionError: expected:<30> but was:<20> due to org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool in JDK 7 and JDK 8
https://s3.amazonaws.com/archive.travis-ci.org/jobs/74869505/log.txt
Running org.jboss.resteasy.test.client.ApacheHttpClient4Test KEEPALIVE!: true [Mon Aug 10 06:51:54 UTC 2015] Servlet for path '/' already defined and no default will be used. [Mon Aug 10 06:51:54 UTC 2015] TJWS httpd localhost - SimpleAcceptor ServerSocket[addr=localhost/127.0.0.1,localport=8081] is listening. get get get ok Exception in thread "Thread-423" java.lang.RuntimeException: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool at org.jboss.resteasy.test.client.ApacheHttpClient4Test.runit(ApacheHttpClient4Test.java:299) at org.jboss.resteasy.test.client.ApacheHttpClient4Test.access$000(ApacheHttpClient4Test.java:35) at org.jboss.resteasy.test.client.ApacheHttpClient4Test$1.run(ApacheHttpClient4Test.java:90) Caused by: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool at org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getEntryBlocking(ConnPoolByRoute.java:412) at org.apache.http.impl.conn.tsccm.ConnPoolByRoute$1.getPoolEntry(ConnPoolByRoute.java:298) at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1.getConnection(ThreadSafeClientConnManager.java:238) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:423) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) at org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor.execute(ApacheHttpClient4Executor.java:199) at org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:46) at org.jboss.resteasy.plugins.interceptors.encoding.AcceptEncodingGZIPInterceptor.execute(AcceptEncodingGZIPInterceptor.java:40) at org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:52) at org.jboss.resteasy.client.ClientRequest.execute(ClientRequest.java:444) at org.jboss.resteasy.client.ClientRequest.httpMethod(ClientRequest.java:685) at org.jboss.resteasy.client.ClientRequest.get(ClientRequest.java:477) at org.jboss.resteasy.test.client.ApacheHttpClient4Test.runit(ApacheHttpClient4Test.java:291) ... 2 more get ok ok get get ok get ok ok get get ok get ok ok get get ok get ok ok get get ok get ok ok get get ok ok get get ok get ok ok get get get ok get ok get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get get ok ok get ok ok get get ok ok get ok get ok calling proxy calling proxy calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world returned: hello world returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy returned: hello world calling proxy calling proxy calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned returned calling proxy returned calling proxy returned returned calling proxy returned calling proxy calling proxy calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned returned returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned calling proxy returned [Embedded Container Stop] [Mon Aug 10 06:52:15 UTC 2015] Accept: java.net.SocketException: Socket closed Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 21.473 sec <<< FAILURE! - in org.jboss.resteasy.test.client.ApacheHttpClient4Test testConnectionCleanupGC(org.jboss.resteasy.test.client.ApacheHttpClient4Test) Time elapsed: 7.319 sec <<< FAILURE! java.lang.AssertionError: expected:<30> but was:<20> at org.junit.Assert.fail(Assert.java:71) at org.junit.Assert.failNotEquals(Assert.java:451) at org.junit.Assert.assertEquals(Assert.java:99) at org.junit.Assert.assertEquals(Assert.java:116) at org.jboss.resteasy.test.client.ApacheHttpClient4Test.testConnectionCleanupGC(ApacheHttpClient4Test.java:100)