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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/05/13 11:16:15 UTC
[jira] [Resolved] (OAK-1813) LastRevSingleNodeRecoveryTest fails
with Mongo
[ https://issues.apache.org/jira/browse/OAK-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-1813.
----------------------------------
Resolution: Fixed
Fixed the issue with http://svn.apache.org/r1594158
Static state in Revision was not getting reset properly in testcase execution. Now {{lastRevisionTimestamp}} is also reset to clock time.
With this fix none of the above failures are observed upon multiple runs
> LastRevSingleNodeRecoveryTest fails with Mongo
> ----------------------------------------------
>
> Key: OAK-1813
> URL: https://issues.apache.org/jira/browse/OAK-1813
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mongomk
> Environment: Intel(R) Xeon(R) CPU E3-1240 V2 (8 core), java version "1.6.0_32"
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
>
> Following exception is observed when running the testcases in oak
> {noformat}
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.568 sec <<< FAILURE!
> testLastRevRestore[0](org.apache.jackrabbit.oak.plugins.document.LastRevSingleNodeRecoveryTest) Time elapsed: 0.368 sec <<< FAILURE!
> java.lang.AssertionError: expected:<8> but was:<0>
> 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.junit.Assert.assertEquals(Assert.java:456)
> at org.apache.jackrabbit.oak.plugins.document.LastRevSingleNodeRecoveryTest.testLastRevRestore(LastRevSingleNodeRecoveryTest.java:134)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Frame
> {noformat}
> Testcase passes when run individually but fails when the LastRevSingleNodeRecoveryTest is run complete
--
This message was sent by Atlassian JIRA
(v6.2#6252)