HBASE-20038 TestLockProcedure.testTimeout is flakey
This commit is contained in:
parent
c06c4f30d1
commit
0432d49d83
|
@ -284,7 +284,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(4 * HEARTBEAT_TIMEOUT);
|
||||||
sendHeartbeatAndCheckLocked(procId, false);
|
sendHeartbeatAndCheckLocked(procId, false);
|
||||||
ProcedureTestingUtility.waitProcedure(procExec, procId);
|
ProcedureTestingUtility.waitProcedure(procExec, procId);
|
||||||
ProcedureTestingUtility.assertProcNotFailed(procExec, procId);
|
ProcedureTestingUtility.assertProcNotFailed(procExec, procId);
|
||||||
|
|
Loading…
Reference in New Issue