You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by st...@apache.org on 2015/08/17 12:31:57 UTC
svn commit: r1696230 -
/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java
Author: stefanegli
Date: Mon Aug 17 10:31:57 2015
New Revision: 1696230
URL: http://svn.apache.org/r1696230
Log:
OAK-2739 : disable lease check for ClusterInfoTest
Modified:
jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java
Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java?rev=1696230&r1=1696229&r2=1696230&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/ClusterInfoTest.java Mon Aug 17 10:31:57 2015
@@ -49,10 +49,12 @@ public class ClusterInfoTest {
DocumentNodeStore ns1 = new DocumentMK.Builder().
setDocumentStore(mem).
setAsyncDelay(0).
+ setLeaseCheck(false).
getNodeStore();
DocumentNodeStore ns2 = new DocumentMK.Builder().
setDocumentStore(mem).
setAsyncDelay(0).
+ setLeaseCheck(false).
getNodeStore();
// Bring the current time forward to after the leaseTime which would have been
// updated in the DocumentNodeStore initialization.
@@ -102,6 +104,7 @@ public class ClusterInfoTest {
DocumentNodeStore ns = new DocumentMK.Builder().
setDocumentStore(mem).
setAsyncDelay(0).
+ setLeaseCheck(false).
getNodeStore();
ClusterNodeInfo info = ns.getClusterInfo();