[ https://issues.apache.org/jira/browse/OAK-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592187#comment-13592187 ]
Alex Parvulescu commented on OAK-654: ------------------------------------- Another case of failing preconditions I ran into by mistake is the _org.apache.jackrabbit.test.api.SerializationTest_ test [0]. It appears the cleanup part from AbstractJCRTest#cleanUpTestRoot is unable to finish properly. I find this interesting (even though the _SerializationTest_ test is marked as ignored currently) because the cleanup method is called from all the JCR tests. [0] java.lang.IllegalArgumentException at com.google.common.base.Preconditions.checkArgument(Preconditions.java:76) at org.apache.jackrabbit.oak.plugins.segment.MapBranch.<init>(MapBranch.java:42) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeMapBranch(SegmentWriter.java:233) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeMapBucket(SegmentWriter.java:305) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeMap(SegmentWriter.java:391) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:644) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:646) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter$1.childNodeChanged(SegmentWriter.java:629) at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:337) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:621) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter$1.childNodeChanged(SegmentWriter.java:629) at org.apache.jackrabbit.oak.plugins.memory.ModifiedNodeState.compareAgainstBaseState(ModifiedNodeState.java:337) at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:621) at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreBranch.merge(SegmentNodeStoreBranch.java:93) at org.apache.jackrabbit.oak.core.RootImpl$2.run(RootImpl.java:255) at org.apache.jackrabbit.oak.core.RootImpl$2.run(RootImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:337) at org.apache.jackrabbit.oak.core.RootImpl.commit(RootImpl.java:250) at org.apache.jackrabbit.oak.jcr.SessionDelegate.save(SessionDelegate.java:255) at org.apache.jackrabbit.oak.jcr.SessionImpl.save(SessionImpl.java:277) at org.apache.jackrabbit.test.AbstractJCRTest.cleanUpTestRoot(AbstractJCRTest.java:890) > MapBranch size preconditions can fail > ------------------------------------- > > Key: OAK-654 > URL: https://issues.apache.org/jira/browse/OAK-654 > Project: Jackrabbit Oak > Issue Type: Sub-task > Components: segmentmk > Reporter: Alex Parvulescu > Priority: Minor > > One example is the UserQueryTest#testAny test where the size expectations can > fail, a value always bigger than _BUCKETS_PER_LEVEL(32)_ is expected but here > the value is _4_. > afaik this happens on the teardown, so it may be related to a big number of > deletes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira