Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53511

Improve discovery / readability of WebClient tricks in test

XMLWordPrintable

    • Jenkins 2.164

      When reviewing tests code, so often the developer is not aware of the WebClient#getOptions()#setThrowExceptionOnFailingStatusCode(false) trick and that implies the use of ugly try/catch.

      To ease the discovery of such options, the method should be only one-level depth.

            wfollonier Wadeck Follonier
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: