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

Stefan Seifert commented on SLING-5462:
---------------------------------------

Completed: At revision: 1727389  

i've just fixed the problem at hand without using konrads patch. the goal to 
reuse the logic from commons.osgi is good, but updating the dependency to such 
a new version is not good. usually the project using osgi-mock will use the 
dependency to commons.osgi itself (or probably via aem-api) overwriting the 
transitive dependency of the test dependency to osgi-mock, resulting in failing 
code.

after fixing this i've removed bertrands pax-exam example (thanks for providing 
it as comparison) to speed up the tests. (additionally i had problems running 
them on my windows machine with connection timeouts).

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

Reply via email to