You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/03/01 12:43:15 UTC

[jira] [Updated] (SLING-2763) Tweak PostServletCreateTest.testCreatingNodeUnderFile test to allow the presence of a PersistenceException

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

Alex Parvulescu updated SLING-2763:
-----------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Tweak PostServletCreateTest.testCreatingNodeUnderFile test to allow the presence of a PersistenceException
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2763
>                 URL: https://issues.apache.org/jira/browse/SLING-2763
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Alex Parvulescu
>            Priority: Minor
>
> 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.

--
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