jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Sedding (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-5880) Test in oak-pojosr module should rely on service events instead of sleeps
Date Thu, 02 Mar 2017 16:42:45 GMT
Julian Sedding created OAK-5880:
-----------------------------------

             Summary: Test in oak-pojosr module should rely on service events instead of sleeps
                 Key: OAK-5880
                 URL: https://issues.apache.org/jira/browse/OAK-5880
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: pojosr
    Affects Versions: 1.6.1
            Reporter: Julian Sedding
            Priority: Minor
             Fix For: 1.8


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message