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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/06/05 13:43:20 UTC

[jira] [Commented] (OAK-856) Use in-memory MongoMK instead of MicroKernelImpl for tests

    [ https://issues.apache.org/jira/browse/OAK-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675823#comment-13675823 ] 

Thomas Mueller commented on OAK-856:
------------------------------------

There seem to be a few issues to be fixed before switching.

The following oak-core test failure seems to be related to branch/merge in the MongoMK:
{code}
rebaseWithMove(org.apache.jackrabbit.oak.core.RootImplTest): expected:<2> but was:<3>
rebaseWithCopy(org.apache.jackrabbit.oak.core.RootImplTest): expected:<3> but was:<4>
{code}

Also, org.apache.jackrabbit.oak.core.TreeImplTest#largeChildList failed for me with "Java heap space" error; this might be related to the background thread in the MongoMK that keeps a reference to the storage (the tests don't dispose the MicroKernel; there is no dispose method).
                
> Use in-memory MongoMK instead of MicroKernelImpl for tests
> ----------------------------------------------------------
>
>                 Key: OAK-856
>                 URL: https://issues.apache.org/jira/browse/OAK-856
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Currently, most tests are run against the (in-memory) MicroKernelImpl.
> To improve test coverage of the MongoMK, we should use the MongoMK instead by default.

--
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