hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Integration test for do-not-retry?
Date Fri, 16 Dec 2016 09:53:08 GMT
On Thu, 2016-12-15 at 21:40 +0000, Paul Hammant wrote:
> Great - right repo then. I can't find tests for that method (unit or integration) - can
you show me where they would be?
> There's HttpRequestRetryHandler and a single impl of it (Default). I was clicking around
for a NoRetries impl of it but couldn't see that. Sorry I'm distracting from my question -
is there of disableAutomaticRetries()?
> If no then I might have found a bug.
> 

https://github.com/apache/httpclient/blob/4.5.x/httpclient/src/test/java/org/apache/http/impl/execchain/TestRetryExec.java

Oleg

> (Sent from my iPhone - please excuse small tpyos)
> 
> 		_____________________________
> From: Gary Gregory <garydgregory@gmail.com>
> Sent: Thursday, December 15, 2016 1:33 PM
> Subject: Re: Integration test for do-not-retry?
> To: HttpComponents Project <dev@hc.apache.org>
> 
> 
> That is the right repo on github but note that this a mirror of the apache
> svn repo. It only gets sync'd every couple of hours.
> 
> Gart
> 
> On Dec 15, 2016 8:26 AM, "Paul Hammant" <paul@hammant.org> wrote:
> 
> > I've a defect in use that makes me think retry logic isn't working right
> > for the httpclient library. I'm trying to get it to not retry, via
> > disableAutomaticRetries() but it looks like that call is ignored.
> > To verify my assumptions I was trying to find an integration tests for
> > disableAutomaticRetries(). I can't find one. Nor can I find a unit test.
> > I'm check ing inside github.com/Apache/httpclient/ but that could be the
> > wrong place.
> > Can someone direct me to the right place?
> > - Paul
> >
> > (Sent from my iPhone - please excuse small tpyos)
> >
> 
> 
> 
> 	



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


Mime
View raw message