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

Improve long running MailSendingScanResultHandler integration test

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • Clam 1.2.0
    • JCR, Oak
    • None

    Description

      For some reason the service setup takes far too long and times out on CI:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.sling.clam.it.tests.JcrPropertyScanJobConsumerIT
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.407 s - in org.apache.sling.clam.it.tests.JcrPropertyScanJobConsumerIT
      [INFO] Running org.apache.sling.clam.it.tests.ResourcePersistingScanResultHandlerIT
      [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 73.63 s - in org.apache.sling.clam.it.tests.ResourcePersistingScanResultHandlerIT
      [INFO] Running org.apache.sling.clam.it.tests.ClamJcrScanServletIT
      [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.453 s - in org.apache.sling.clam.it.tests.ClamJcrScanServletIT
      [INFO] Running org.apache.sling.clam.it.tests.MailSendingScanResultHandlerIT
      [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 378.523 s - in org.apache.sling.clam.it.tests.MailSendingScanResultHandlerIT
      [INFO] Running org.apache.sling.clam.it.tests.ClamEventsServletIT
      [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.639 s - in org.apache.sling.clam.it.tests.ClamEventsServletIT
      [INFO] 
      [INFO] Results:
      [INFO] 
      [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0
      

      Build on CI fails due to timeout:

      [INFO] Running org.apache.sling.clam.it.tests.MailSendingScanResultHandlerIT
      [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 685.393 s <<< FAILURE! - in org.apache.sling.clam.it.tests.MailSendingScanResultHandlerIT
      [ERROR] org.apache.sling.clam.it.tests.MailSendingScanResultHandlerIT.testSentResults  Time elapsed: 300.172 s  <<< ERROR!
      org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.apache.sling.clam.result.JcrPropertyScanResultHandler
      

      Attachments

        Issue Links

          Activity

            People

              olli Oliver Lietz
              olli Oliver Lietz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: