Oliver Lietz created SLING-10366: ------------------------------------ Summary: Adjust HTTP codes for SlingPostServlet integration tests Key: SLING-10366 URL: https://issues.apache.org/jira/browse/SLING-10366 Project: Sling Issue Type: Task Components: Servlets, Testing Reporter: Oliver Lietz Assignee: Joerg Hoh Fix For: Launchpad Integration Tests 12
Failures caused by {{org.apache.sling.servlets.post}} {{2.4.3-SNAPSHOT}}: {noformat} [ERROR] Failures: [ERROR] PostServletAtCopyTest.testCopyAncestor:232->HttpTestBase.assertPostStatus:412 Expecting status 500 expected:<500> but was:<409> [ERROR] PostServletCopyTest.testCopyAncestor:619->HttpTestBase.assertPostStatus:412 Expecting status 500 expected:<500> but was:<409> [ERROR] PostServletCreateTest.testCreateNodeWithInvalidExactName:196->HttpTestBase.assertPostStatus:410 expected:<500> but was:<409> [ERROR] PostServletCreateTest.testCreatingNodeUnderFile:255->HttpTestBase.assertPostStatus:412 Response to creating a child under nt:file should fail. expected:<500> but was:<409> [ERROR] PostServletImportTest.testImportAutoCheckoutNodes:326->HttpTestBase.assertPostStatus:412 Expected error from VersionException expected:<500> but was:<409> [ERROR] PostServletImportTest.testImportNodeWithInvalidExactName:765->HttpTestBase.assertPostStatus:410 expected:<500> but was:<409> [INFO] [ERROR] Tests run: 665, Failures: 6, Errors: 0, Skipped: 1 {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)