[
https://issues.apache.org/jira/browse/SLING-2818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-2818.
----------------------------------------
Resolution: Fixed
I have added retries (up to 10 seconds) to each test of the ErrorHandling class
in http://svn.apache.org/r1488972 - the hard way as those are still
JUnit3-style tests, @Rule is not supported.
Let's see if that helps.
> ErrorHandlingTest often fails
> -----------------------------
>
> Key: SLING-2818
> URL: https://issues.apache.org/jira/browse/SLING-2818
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Attachments: error-message.txt
>
>
> At least at https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.6
> the
> org.apache.sling.launchpad.webapp.integrationtest.servlets.resolver.errorhandler.ErrorHandlingTest
> often fails, sometimes for unclear reasons (timing?).
> Recent error messages include
> At ErrorHandlingTest.setUp:
> mkdir(http://localhost:42232/apps/servlets/errorhandler) failed, status
> code=503
> At ErrorHandlingTest.test_500_errorhandling:
> Error 503 AuthenticationSupport service missing. Cannot authenticate request
> It looks like something (maybe the test's setup itself) causes Sling to go
> 503 just before the test.
> The test that runs just before is
> org.apache.sling.launchpad.webapp.integrationtest.CreateNodeTest which
> shouldn't cause a 503 status.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira