Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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>]
Attachments
Issue Links
- blocks
-
SLING-2788 Optionally run Sling on Apache OAK
-
- Resolved
-