[
https://issues.apache.org/jira/browse/SLING-5462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121806#comment-15121806
]
Konrad Windszus commented on SLING-5462:
----------------------------------------
Actually even in version 2.2 commons.osgi contained
{{getComparableForServiceRanking(final Map<String, Object> props)}}. Would you
mind reusing that one or do you want me to provide another patch? Unfortunately
I am failing to see why the tests break with my patch.
> MockServiceReference sorts in the wrong way w.r.t. service ranking
> ------------------------------------------------------------------
>
> Key: SLING-5462
> URL: https://issues.apache.org/jira/browse/SLING-5462
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing OSGi Mock 2.0.0
> Reporter: Bertrand Delacretaz
> Assignee: Stefan Seifert
> Priority: Minor
> Attachments: SLING-5462-v01-failing-test.patch
>
>
> I'll add tests that demonstrate that, by comparing with the sorting done by a
> real OSGi framework.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)