> @@ -54,13 +56,14 @@ public void test401ShouldRetry() {
>        expectLastCall();
>  
>        
> expect(response.getPayload()).andReturn(Payloads.newStringPayload("token 
> expired, please renew")).anyTimes();
> +      expect(command.incrementFailureCount()).andReturn(0).anyTimes();

This does not seem realistic? `incrementFailureCount()` returns the new failure 
count, so should not return 0, and certainly not `anyTimes()`..?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/306/files#r10195225

Reply via email to