[ 
https://issues.apache.org/jira/browse/JCR-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752040#action_12752040
 ] 

Marcel Reutegger commented on JCR-2295:
---------------------------------------

I think this is caused by a test case introduced for JCR-2272 
(ConcurrentImportTest). AFAICS the test causes a workspace inconsistency, which 
affects the query tests.

I'll disable the test for now. svn revision: 812032

> Occasional query test failures
> ------------------------------
>
>                 Key: JCR-2295
>                 URL: https://issues.apache.org/jira/browse/JCR-2295
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, query, test
>            Reporter: Jukka Zitting
>
> Our Hudson build caught a query test issue that I just saw also on a local 
> checkout. See the Hudson report for details:
> http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/org.apache.jackrabbit$jackrabbit-core/818/testReport/
> Most of the test errors look like this:
> junit.framework.AssertionFailedError: /testroot/node1 is not part of the 
> result set
>       at junit.framework.Assert.fail(Assert.java:47)
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>       at 
> org.apache.jackrabbit.test.api.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:342)
>       at 
> org.apache.jackrabbit.test.api.query.AbstractQueryTest.executeSqlQuery(AbstractQueryTest.java:320)
>       at 
> org.apache.jackrabbit.test.api.query.SQLJoinTest.testJoinNtBase(SQLJoinTest.java:103)
> There's also the following failure, though I'm not sure if the problems are 
> related:
> javax.jcr.ItemNotFoundException: failed to build path of 
> 73a2730b-151c-425d-87fe-f4c9b1885b2f: 14eaf724-275f-4a59-aed1-3fcbd7eca88b 
> has no child entry for 73a2730b-151c-425d-87fe-f4c9b1885b2f
>       at 
> org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)
>       at 
> org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:198)
>       at 
> org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)
>       at 
> org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:232)
>       at 
> org.apache.jackrabbit.core.query.lucene.RowIteratorImpl$RowImpl.getValue(RowIteratorImpl.java:340)
>       at 
> org.apache.jackrabbit.commons.query.GQL$RowAdapter.getValue(GQL.java:1016)
>       at 
> org.apache.jackrabbit.core.query.AbstractQueryTest.checkResultSequence(AbstractQueryTest.java:235)
>       at 
> org.apache.jackrabbit.core.integration.GQLTest.testOrder(GQLTest.java:60)

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