Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
the JUnit TeleporterRule provides a getService method to get OSGi services for the test run. this may return null for services that are not yet started.
as a workaround some integration tests implement their own "WaitFor" pattern
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/repoinit/it/src/test/java/org/apache/sling/repoinit/it/WaitFor.java
it should be supported by the teleporter rule directly.
Attachments
Issue Links
- is related to
-
SLING-6110 ServerSideTeleporter can't read the bundle header Sling-Test-WaitForService-Timeout
-
- Closed
-
-
SLING-6335 Server-Side Tests: Use ServiceTracker to wait for services rather than polling
-
- Closed
-
- links to