[
https://issues.apache.org/jira/browse/OAK-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675855#comment-13675855
]
Thomas Mueller commented on OAK-856:
------------------------------------
> The idea is that such an in-memory MicroKernel should get normally garbage
> collected once there are no more references to it.
The in-memory MongoMK currently uses a background thread that is not
immediately stopped. This background thread could be disabled for the in-memory
case, but that would mean the in-memory MongoMK would work less like the
(persisting) MongoMK, so test coverage would be lower.
One option is to explicitly dispose the MongoMK (which stopps the thread).
Another option is to work around this problem by stopping the background thread
earlier.
> 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