hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1322) Factory method + example for HttpAsyncClientWithFuture
Date Thu, 28 Mar 2013 13:35:20 GMT

     [ 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


Mime
View raw message