Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5880

Test in oak-pojosr module should rely on service events instead of sleeps

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 1.6.1
    • None
    • pojosr
    • None

    Description

      Some tests in oak-pojosr rely on service events happening "soon enough" for assertions to hold. OAK-5750 introduced a mechanism to wait for service events before continuing execution (AbstractRepositoryFactoryTest#awaitServiceEvent), which should be leveraged in such cases.

      All tests in the module should be reviewed and adjusted if necessary.

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              jsedding Julian Sedding
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: