[ 
https://issues.apache.org/jira/browse/SLING-9329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulvac updated SLING-9329:
---------------------------------
    Description: 
Make http retry mechanism configurable.
More specifically, configure the error codes for which to retry the test http 
calls.

  was:
In cloud environment, it is likely to have 503 or broken connection at a very 
low rate <1% of requests. This add unwanted flakiness to tests.

Generally 503 or broken connection should be retried (at least that is 
recommended), thus it would be nice to introduce it on the 
AbstractSlingClient.doRequest(...) which seems to be the best place as common 
code (doGet, doPost etc..).


> Implement configurable retries mechanism for http 5XX response codes
> --------------------------------------------------------------------
>
>                 Key: SLING-9329
>                 URL: https://issues.apache.org/jira/browse/SLING-9329
>             Project: Sling
>          Issue Type: Improvement
>          Components: Apache Sling Testing Clients
>    Affects Versions: Apache Sling Testing Clients 1.2.4
>            Reporter: Andrei Dulvac
>            Assignee: Andrei Dulvac
>            Priority: Critical
>             Fix For: Apache Sling Testing Clients 1.2.8
>
>
> Make http retry mechanism configurable.
> More specifically, configure the error codes for which to retry the test http 
> calls.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to