HBASE-22652 Flakey TestLockManager; test timed out after 780 seconds

Signed-off-by: Duo Zhang <Apache9@apache.org>
This commit is contained in:
stack 2019-07-03 07:47:00 -07:00
parent 2d35d5f00f
commit 340ea97b1d
1 changed files with 0 additions and 4 deletions

View File

@ -78,10 +78,6 @@ class TimeoutExecutorThread<TEnvironment> extends StoppableThread {
}
public void add(Procedure<TEnvironment> procedure) {
// On the assert, we expect WAITING_TIMEOUT but timing could make it so lock gets released by
// time we get here and in those cases the state could be back to RUNNABLE. Let it
assert procedure.getState() == ProcedureState.WAITING_TIMEOUT ||
procedure.getState() == ProcedureState.RUNNABLE;
LOG.info("ADDED {}; timeout={}, timestamp={}", procedure, procedure.getTimeout(),
procedure.getTimeoutTimestamp());
queue.add(new DelayedProcedure<>(procedure));