[ https://issues.apache.org/jira/browse/OAK-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352812#comment-14352812 ]
Julian Reschke commented on OAK-2588: ------------------------------------- The test case used a document ID that didn't conform to the "n:/..." pattern; that apparently confused the hierarchical cache invalidation. I have now fixed this, but we really should clarify unstated assumptions in the DocumentStore like these. > MultiDocumentStoreTest.testInvalidateCache failing for Mongo > ------------------------------------------------------------ > > Key: OAK-2588 > URL: https://issues.apache.org/jira/browse/OAK-2588 > Project: Jackrabbit Oak > Issue Type: Bug > Components: mongomk > Reporter: Chetan Mehrotra > Assignee: Julian Reschke > Priority: Minor > Fix For: 1.1.8 > > > {{MultiDocumentStoreTest.testInvalidateCache}} failing for Mongo > {noformat} > Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.255 sec <<< > FAILURE! > testInvalidateCache[0](org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest) > Time elapsed: 0.343 sec <<< FAILURE! > java.lang.AssertionError: modcount should have incremented again expected:<3> > but was:<2> > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.failNotEquals(Assert.java:647) > at org.junit.Assert.assertEquals(Assert.java:128) > at org.junit.Assert.assertEquals(Assert.java:472) > at > org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest.testInvalidateCache(MultiDocumentStoreTest.java:184) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)