You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/03/09 12:08:38 UTC
[jira] [Comment Edited] (OAK-2588)
MultiDocumentStoreTest.testInvalidateCache failing for Mongo
[ https://issues.apache.org/jira/browse/OAK-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352812#comment-14352812 ]
Julian Reschke edited comment on OAK-2588 at 3/9/15 11:07 AM:
--------------------------------------------------------------
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 API like these.
was (Author: reschke):
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)