You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/03/28 14:35:20 UTC
[jira] [Resolved] (HTTPCLIENT-1322) Factory method + example for
HttpAsyncClientWithFuture
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1322.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.3 Alpha2
Jilles
I committed the patch with some minor tweaks.
I also noticed that some of the test cases introduced by your previous patch tended to fail intermittently. There must be a race condition of some sort. Would you be able to take a look?
Oleg
---
Results :
Failed tests: shouldExecuteMultipleCallsAndCallback(org.apache.http.client.async.HttpClientWithFutureTest): expected:<100> but was:<99>
Tests run: 807, Failures: 1, Errors: 0, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HttpComponents Client ............................. SUCCESS [1.993s]
[INFO] HttpClient ........................................ FAILURE [32.266s]
[INFO] HttpMime .......................................... SKIPPED
[INFO] HttpClient Cache .................................. SKIPPED
[INFO] Fluent HttpClient ................................. SKIPPED
[INFO] HttpClient OSGi bundle ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
> Factory method + example for HttpAsyncClientWithFuture
> ------------------------------------------------------
>
> Key: HTTPCLIENT-1322
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1322
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Reporter: Jilles van Gurp
> Priority: Minor
> Fix For: 4.3 Alpha2
>
> Attachments: builderandexample.patch
>
>
> As requested in HTTPCLIENT-1307, I've added a factory method and sample application. Attaching the patch and creating a pull request on github as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org