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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2016/11/03 10:48:58 UTC
[jira] [Commented] (OAK-4912) MongoDB:
ReadPreferenceIT.testMongoReadPreferencesForLocalChanges() ocasionally
fails
[ https://issues.apache.org/jira/browse/OAK-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632357#comment-15632357 ]
Tomek Rękawek commented on OAK-4912:
------------------------------------
[~reschke], I've run this test in a loop on a Windows machine, but wasn't able to reproduce the issue. Could you share the details about the Mongo server and the Java version?
> MongoDB: ReadPreferenceIT.testMongoReadPreferencesForLocalChanges() ocasionally fails
> -------------------------------------------------------------------------------------
>
> Key: OAK-4912
> URL: https://issues.apache.org/jira/browse/OAK-4912
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, mongomk
> Reporter: Julian Reschke
> Assignee: Tomek Rękawek
> Priority: Minor
>
> {noformat}
> testMongoReadPreferencesForLocalChanges(org.apache.jackrabbit.oak.plugins.document.mongo.ReadPreferenceIT) Time elapsed: 0.024 sec <<< FAILURE!
> java.lang.AssertionError: expected:<secondary> but was:<primary>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.apache.jackrabbit.oak.plugins.document.mongo.ReadPreferenceIT.testMongoReadPreferencesForLocalChanges(ReadPreferenceIT.java:195)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)