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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment