jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2295) Occasional query test failures
Date Fri, 04 Sep 2009 08:10:57 GMT

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

Jukka Zitting commented on JCR-2295:
------------------------------------

In a separate build (on a yet another environment) I ran across also the following individual
query test failure:

-------------------------------------------------------------------------------
Test set: org.apache.jackrabbit.core.query.TestAll
-------------------------------------------------------------------------------
Tests run: 154, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.059 sec <<<
FAILURE!
testSimpleQuerySQL4(org.apache.jackrabbit.core.query.SimpleQueryTest)  Time elapsed: 0.056
sec  <<< FAILURE!
junit.framework.AssertionFailedError: Wrong hit count. expected:<2> but was:<1>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:282)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:201)
        at org.apache.jackrabbit.core.query.AbstractQueryTest.checkResult(AbstractQueryTest.java:81)
        at org.apache.jackrabbit.core.query.SimpleQueryTest.testSimpleQuerySQL4(SimpleQueryTest.java:88)



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


Mime
View raw message