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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/04/13 09:49:25 UTC
[jira] [Created] (OAK-4195) Use clock when waiting in
ClusterNodeInfo
Marcel Reutegger created OAK-4195:
-------------------------------------
Summary: 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
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)