Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6335

Server-Side Tests: Use ServiceTracker to wait for services rather than polling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JUnit Core 1.0.18
    • JUnit Core 1.0.20
    • Testing
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jsedding Julian Sedding
              jsedding Julian Sedding
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: