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

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: pojosr
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: