You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2017/03/02 16:55:45 UTC

[jira] [Assigned] (OAK-5880) Test in oak-pojosr module should rely on service events instead of sleeps

     [ https://issues.apache.org/jira/browse/OAK-5880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela reassigned OAK-5880:
---------------------------

    Assignee: angela

> 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
>            Assignee: angela
>            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)