Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
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)
Attachments
Issue Links
- duplicates
-
JCR-2047 Test failure: org.apache.jackrabbit.test.TestAll
- Closed