From 0432d49d838c2444483004b7c6b5ab4c584d57c9 Mon Sep 17 00:00:00 2001 From: zhangduo Date: Wed, 21 Feb 2018 21:20:24 +0800 Subject: [PATCH] HBASE-20038 TestLockProcedure.testTimeout is flakey --- .../apache/hadoop/hbase/master/locking/TestLockProcedure.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java index 85b00d0d8f7..c985fa7be4b 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/locking/TestLockProcedure.java @@ -284,7 +284,7 @@ public class TestLockProcedure { sendHeartbeatAndCheckLocked(procId, true); Thread.sleep(HEARTBEAT_TIMEOUT / 2); sendHeartbeatAndCheckLocked(procId, true); - Thread.sleep(2 * HEARTBEAT_TIMEOUT); + Thread.sleep(4 * HEARTBEAT_TIMEOUT); sendHeartbeatAndCheckLocked(procId, false); ProcedureTestingUtility.waitProcedure(procExec, procId); ProcedureTestingUtility.assertProcNotFailed(procExec, procId);