[ 
https://issues.apache.org/jira/browse/OAK-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Mari updated OAK-2883:
--------------------------------
    Attachment: OAK-2883-01.patch

The attached patch {{OAK\-2883-01.patch}} defines a unit test for 
{{SegmentNodeStoreService}}. 

I just tested what I think is the most important responsibility of the 
component: observing {{BlobStore}} services and dynamically registering 
{{NodeStore}} and {{SegmentStoreProvider}} services if needed.

The untested logic is mainly reading properties from the OSGi configuration and 
registering JMX beans.

[~mduerig], are more complex tests required?

> Tests for SegmentNodeStoreService
> ---------------------------------
>
>                 Key: OAK-2883
>                 URL: https://issues.apache.org/jira/browse/OAK-2883
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Francesco Mari
>              Labels: technical_debt
>             Fix For: 1.3.5
>
>         Attachments: OAK-2883-01.patch
>
>
> {{SegmentNodeStoreService}} currently has no test coverage whatsoever. We 
> should change that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to