HBASE-20038 TestLockProcedure.testTimeout is flakey

This commit is contained in:
zhangduo 2018-02-21 21:20:24 +08:00 committed by Michael Stack
parent a0900857c7
commit b328807d25
1 changed files with 1 additions and 1 deletions

View File

@ -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);