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

Marcel Reutegger resolved JCR-2047.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Two issues likely caused this occasional failures:

- NodeTypesInContentTest does not identify itself as a read-only test
- NodeTypeCreationTest is actually a test that writes to the repository and 
needs a different test root in the configuration

both will remove the test content in their tearDown method.

Fixed in revision: 793571

> Test failure: org.apache.jackrabbit.test.TestAll
> ------------------------------------------------
>
>                 Key: JCR-2047
>                 URL: https://issues.apache.org/jira/browse/JCR-2047
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi2jcr
>            Reporter: Michael Dürig
>             Fix For: 2.0.0
>
>         Attachments: org.apache.jackrabbit.test.TestAll.txt
>
>
> Subsequent test runs fail unless doing a mvn clean first.
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.jackrabbit.spi2jcr.spi.TestAll
> Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.965 sec
> Running org.apache.jackrabbit.test.TestAll
> Tests run: 1038, Failures: 11, Errors: 0, Skipped: 0, Time elapsed: 44.925 
> sec <<< FAILURE!
> Running org.apache.jackrabbit.spi2jcr.jcr2spi.TestAll
> Tests run: 394, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.416 sec
> Results :
> Failed tests:
>   testOrderByAscending(org.apache.jackrabbit.test.api.query.SQLOrderByTest)
>   testOrderByDescending(org.apache.jackrabbit.test.api.query.SQLOrderByTest)
>   testOrderByDefault(org.apache.jackrabbit.test.api.query.SQLOrderByTest)
>   
> testDocOrderIndexedNotation(org.apache.jackrabbit.test.api.query.XPathPosIndexTest)
>   
> testDocOrderPositionFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
>   
> testDocOrderPositionIndex(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
>   
> testDocOrderLastFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
>   
> testDocOrderFirstFunction(org.apache.jackrabbit.test.api.query.XPathDocOrderTest)
>   testOrderByAscending(org.apache.jackrabbit.test.api.query.XPathOrderByTest)
>   testOrderByDescending(org.apache.jackrabbit.test.api.query.XPathOrderByTest)
>   testOrderBy(org.apache.jackrabbit.test.api.query.XPathOrderByTest)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to