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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/05/16 13:59:14 UTC
[jira] [Closed] (OAK-4195) Use clock when waiting in
ClusterNodeInfo
[ https://issues.apache.org/jira/browse/OAK-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-4195.
---------------------------------
Bulk close for 1.5.2
> Use clock when waiting in ClusterNodeInfo
> -----------------------------------------
>
> Key: OAK-4195
> URL: https://issues.apache.org/jira/browse/OAK-4195
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.6, 1.5.2
>
>
> ClusterNodeInfo currently uses a Thread.sleep() when it waits for a lease to end in waitForLeaseExpiry(). The method should rather use clock.waitUntil() to make use of a potential virtual clock in use by a test. This allows to reduce the time it takes to run lease related tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)