[ https://issues.apache.org/jira/browse/SLING-12415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-12415. ------------------------------------ Resolution: Fixed > Intermittent build failures on Sling Test envs - > ResourceResolverFactoryActivator 250 ms > ---------------------------------------------------------------------------------------- > > Key: SLING-12415 > URL: https://issues.apache.org/jira/browse/SLING-12415 > Project: Sling > Issue Type: Bug > Components: Testing > Reporter: Niek Raaijmakers > Assignee: Stefan Seifert > Priority: Major > Fix For: Testing Sling Mock 3.5.4 > > > SLING-12090 introduced some cases where unit tests failed intermittently: > We see: > > {code:java} > 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.{code} > > Perhaps we could increase the timeout? -- This message was sent by Atlassian Jira (v8.20.10#820010)