Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9053

Implement retries mechanism for http 5XX response codes

    XMLWordPrintableJSON

Details

    Description

      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..).

      Attachments

        Issue Links

          Activity

            People

              andrei.dulvac Andrei Dulvac
              petitbear68 Thierry Ygé
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m