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)