Bertrand Delacretaz created SLING-3087:
------------------------------------------
Summary: Oak: ServerSideScriptsTest integration test fails
semi-randomly with 404 errors
Key: SLING-3087
URL: https://issues.apache.org/jira/browse/SLING-3087
Project: Sling
Issue Type: Bug
Components: Oak
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor
Running the test against my experimental Oak launchpad, with a single JSP file
under src/main/resources/scripts/sling-it (installer-duplicate.jsp or
resourceresolver-api.jsp) works all the time, but when running with these two
files present I get 404s about 50% of the time, details below.
I haven't found the root cause yet. The 404 is set by the
ResourceNotFoundException catch in SlingRequestProcessorImpl.processRequest(...)
Failed tests: runScripts[1 -
resourceresolver-api.jsp](org.apache.sling.launchpad.webapp.integrationtest.ServerSideScriptsTest):
Expected 0 failing tests but got 1 for
/Users/bert/workspace/apache/sling/launchpad/integration-tests/target/classes/scripts/sling-it/resourceresolver-api.jsp:
[verifyContent[0
(org.apache.sling.junit.scriptable.TestAllPaths): Expecting HTTP status 200 for
path
/apps/testing/sling/scripted-tests/installer-duplicate.test.txt
expected:<200> but was:<404>]
--
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