Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2763

Tweak PostServletCreateTest.testCreatingNodeUnderFile test to allow the presence of a PersistenceException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Launchpad Testing 10
    • Component/s: Testing
    • Labels:
      None

      Description

      Running PostServletCreateTest.testCreatingNodeUnderFile against an Oak repo, the test fails because it expects to see a ConstraintViolationException on the page.

      As oak has a different behavior wrt the moment when it throws the ConstraintViolationException, it may end up being wrapped into a PersistenceException which will fail the test even if the overall expectations are met.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              stillalex Alex Deparvu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment