You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Sedding (JIRA)" <ji...@apache.org> on 2016/11/28 17:32:58 UTC

[jira] [Resolved] (SLING-6335) Server-Side Tests: Use ServiceTracker to wait for services rather than polling

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

Julian Sedding resolved SLING-6335.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: JUnit Core 1.0.20

Fixed in [r1771777|https://svn.apache.org/r1771777].

> Server-Side Tests: Use ServiceTracker to wait for services rather than polling
> ------------------------------------------------------------------------------
>
>                 Key: SLING-6335
>                 URL: https://issues.apache.org/jira/browse/SLING-6335
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: JUnit Core 1.0.18
>            Reporter: Julian Sedding
>            Assignee: Julian Sedding
>             Fix For: JUnit Core 1.0.20
>
>
> Inside {{ServerSideTeleporter#getService}} the {{BundleContext}} is polled for the presence of a service every 50ms. Instead, a {{ServiceTracker}} could be used to wait for the service.



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