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

503 error at the beginning of integration tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Testing
    • None

    Description

      Our launchpad/testing tests sometimes seem to start before Sling is actually ready, see example below.

      Sling services seem to be started, continuing with integration tests.
      ...
      StreamServletTest.testHtmlFile(ERROR!
      org.apache.sling.commons.testing.integration.HttpStatusCodeException: Expected status code 200 for GET, got 503...

      testPlainTextFile <<< ERROR!
      java.io.IOException: mkdir(
      http://localhost:60527/launchpad-integration-tests) failed, status code=503

      Running org.apache.sling.launchpad.webapp.integrationtest.EspLoadTest
      <<< ERROR!
      org.apache.sling.commons.testing.integration.HttpStatusCodeException: Expected status code 302 for POST, got 503, URL=http://localhost:60527/EspLoadTest_1383722876765/, Content=[<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
      <title>Error 503 ServletResolver service missing, cannot service requests</title>

      ...and the following tests pass

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: