hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant elder <ant.el...@gmail.com>
Subject Re: [VOTE] HttpComponents Client 4.1 release based on RC2
Date Mon, 17 Jan 2011 11:14:22 GMT
On Fri, Jan 14, 2011 at 7:41 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
> Please vote on releasing these packages as HttpComponents Client 4.1.
> The vote is open for the at least 72 hours, and only votes from
> HttpComponents PMC members are binding. The vote passes if at least
> three binding +1 votes are cast and there are more +1 than -1 votes.
>
> Packages:
> http://people.apache.org/~olegk/httpclient-4.1/
>
> Release notes:
> http://people.apache.org/~olegk/httpclient-4.1/RELEASE_NOTES.txt
>
> Maven artefacts:
> https://repository.apache.org/content/repositories/orgapachehttpcomponents-032/org/apache/httpcomponents/
>
> SVN tag:
> http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1-RC2
>
> --------------------------------------------------------------------------
>  Vote:  HttpComponents Client 4.1 release
>  [ ] +1 Release the packages as HttpComponents Client 4.1.
>  [ ] -1 I am against releasing the packages (must include a reason).
>

When i try building the src for this i get two fails, is that expected:

Tests in error:
  testUseRetryHandlerInConnectionTimeOutWithThreadSafeClientConnManager(org.apache.http.impl.client.TestRequestRetryHandler)
  testUseRetryHandlerInConnectionTimeOutWithSingleClientConnManager(org.apache.http.impl.client.TestRequestRetryHandler)

Tests run: 520, Failures: 0, Errors: 2, Skipped: 0

and in TEST-org.apache.http.impl.client.TestRequestRetryHandler.xml it has:

  <testcase time="0.203"
classname="org.apache.http.impl.client.TestRequestRetryHandler"
name="testUseRetryHandlerInConnectionTimeOutWithThreadSafeClientConnManager">
    <error message="Unexpected exception,
expected&lt;org.apache.http.conn.HttpHostConnectException&gt; but
was&lt;org.apache.http.conn.ConnectTimeoutException&gt;"
type="java.lang.Exception">java.lang.Exception: Unexpected exception,
expected&lt;org.apache.http.conn.HttpHostConnectException&gt; but
was&lt;org.apache.http.conn.ConnectTimeoutException&gt;
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to
www.example.com/www.example.com/192.0.32.10 timed out
	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:122)
	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:562)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
	at org.apache.http.impl.client.TestRequestRetryHandler.assertOnRetry(TestRequestRetryHandler.java:103)
	at org.apache.http.impl.client.TestRequestRetryHandler.testUseRetryHandlerInConnectionTimeOutWithThreadSafeClientConnManager(TestRequestRetryHandler.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:21)
	... 19 more
</error>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message