You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/07/12 09:41:15 UTC

[jira] Updated: (JCR-2205) Occasional query test failures in spi2jcr and core

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

Jukka Zitting updated JCR-2205:
-------------------------------

    Component/s: jackrabbit-core
        Summary: Occasional query test failures in spi2jcr and core  (was: Occasional query test failures in spi2jcr)

BTW, I've seen the same errors occurring also in jackrabbit-core.

> Occasional query test failures in spi2jcr and core
> --------------------------------------------------
>
>                 Key: JCR-2205
>                 URL: https://issues.apache.org/jira/browse/JCR-2205
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, jackrabbit-spi2jcr, query
>            Reporter: Jukka Zitting
>
> Every now and then I see the following tests failing in jackabbit-spi2jcr:
> Failed tests:
>   testDescendantTestRoot(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   testDescendantLeaf(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   testDescendantSelfTestRoot(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   testChildAxisRoot(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   testChildAxisTestRoot(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   testChildAxisLeaf(org.apache.jackrabbit.test.api.query.SQLPathTest)
>   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)
> All the test failures look like this:
> testDescendantTestRoot(org.apache.jackrabbit.test.api.query.SQLPathTest)  Time elapsed: 0.006 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Default workspace at /testdata does not contain sufficient content.
>         at junit.framework.Assert.fail(Assert.java:47)
>         at org.apache.jackrabbit.test.api.query.SQLPathTest.setUp(SQLPathTest.java:53)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:450)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
>         at org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:619)

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