Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Launchpad Test Services 2.0.6
-
None
-
None
Description
The ResourceResolverTest is run in a weird way from a JSP script from the integration-tests module, which makes it a bit hard to debug and prevents it from using JUnit features.
Also, it uses sleep to wait for mapping changes to be activated. This makes it fragile, and it fails sometimes with Oak where observation events are currently (V0.9) delivered less often than in Jackrabbit.
I'll refactor it as a real JUnit test and instead of sleep() use the org/apache/sling/api/resource/ResourceResolverMapping/CHANGED event that the mapping subsystem delivers to indicate mapping changes.
Attachments
Issue Links
- blocks
-
SLING-2788 Optionally run Sling on Apache OAK
- Resolved