HBASE-19026 TestLockProcedure#testRemoteNamespaceLockRecovery fails

This commit is contained in:
tedyu 2017-10-19 11:12:26 -07:00
parent 723eb7c6ba
commit be37515032
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ public class TestLockProcedure {
sendHeartbeatAndCheckLocked(procId, true); sendHeartbeatAndCheckLocked(procId, true);
Thread.sleep(HEARTBEAT_TIMEOUT/2); Thread.sleep(HEARTBEAT_TIMEOUT/2);
sendHeartbeatAndCheckLocked(procId, true); sendHeartbeatAndCheckLocked(procId, true);
Thread.sleep(2 * HEARTBEAT_TIMEOUT); Thread.sleep(2 * HEARTBEAT_TIMEOUT + HEARTBEAT_TIMEOUT/2);
sendHeartbeatAndCheckLocked(procId, false); sendHeartbeatAndCheckLocked(procId, false);
ProcedureTestingUtility.waitProcedure(procExec, procId); ProcedureTestingUtility.waitProcedure(procExec, procId);
ProcedureTestingUtility.assertProcNotFailed(procExec, procId); ProcedureTestingUtility.assertProcNotFailed(procExec, procId);