You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (Jira)" <ji...@apache.org> on 2021/06/11 19:57:00 UTC

[jira] [Resolved] (SLING-10366) Adjust HTTP status codes for SlingPostServlet integration tests

     [ https://issues.apache.org/jira/browse/SLING-10366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz resolved SLING-10366.
----------------------------------
    Resolution: Done

> Adjust HTTP status codes for SlingPostServlet integration tests
> ---------------------------------------------------------------
>
>                 Key: SLING-10366
>                 URL: https://issues.apache.org/jira/browse/SLING-10366
>             Project: Sling
>          Issue Type: Task
>          Components: Karaf, Servlets, Starter, Testing
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Minor
>             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)