You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/11/03 14:20:59 UTC

[jira] Resolved: (JCR-2295) Occasional query test failures

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

Marcel Reutegger resolved JCR-2295.
-----------------------------------

    Resolution: Invalid

I'll resolve this invalid, since the query failures have been caused by a test case introduced for another issue (JCR-2272) which is not yet fixed.

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