Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
SLING-12090 introduced some cases where unit tests failed intermittently:
We see:
09:01:47,710 [ThreadedStreamConsumer] [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.016 s <<< FAILURE! - in com.x.y.z.MoreLandingPagesServletTest 09:01:47,710 [ThreadedStreamConsumer] [ERROR] testDoGetLandingPagesServlet Time elapsed: 0.012 s <<< ERROR! java.lang.RuntimeException: Unable to initialize JCR_MOCK resource resolver factory: ResourceResolverFactoryActivator did not register a ResourceResolverFactory after 250ms. Caused by: java.lang.IllegalStateException: ResourceResolverFactoryActivator did not register a ResourceResolverFactory after 250ms.
Perhaps we could increase the timeout?
Attachments
Issue Links
- is related to
-
SLING-12435 sling-mock: Make timeout to wait for ResourceResolverFactoryActivator configurable via system property
- Resolved