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

Make server ready check for tests optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Commons Testing 2.0.10
    • Commons Testing 2.0.12
    • Testing
    • None

    Description

      Right now if you extend the HttpTestBase each and every test checks whether the server is up and running. This is done by writing to the root of the repository. Once some security is in place and writing to root is not possible, all tests fail.

      I think it shouldn't be the task of the tests to check if the server is running, they should simply assume the server is available.

      The simplest solution for now would be to make this check configurable by a system property

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: