> @@ -197,4 +221,29 @@ void testDisallowsExcessiveRetries() throws
> InterruptedException, IOException, S
> assertEquals(handler.shouldRetryRequest(command, response), false); //
> Failure 6
> }
>
> + private void testDisallowsExcessiveRetriesOnException(HttpCommand
> command) {
> + IOException response = new IOException();
> +
> + assertEquals(handler.shouldRetryRequest(command, response), true); //
> Failure 1
is there a way to refactor that using a loop? or something from assertj?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/744/files#r30113568