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

Intermittent build failures on Sling Test envs - ResourceResolverFactoryActivator 250 ms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Testing
    • 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

          Activity

            People

              Unassigned Unassigned
              Sc0rpic0m Niek Raaijmakers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: