HBASE-22652 Flakey TestLockManager; test timed out after 780 seconds
Signed-off-by: Duo Zhang <Apache9@apache.org>
This commit is contained in:
parent
2d35d5f00f
commit
340ea97b1d
|
@ -78,10 +78,6 @@ class TimeoutExecutorThread<TEnvironment> extends StoppableThread {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void add(Procedure<TEnvironment> procedure) {
|
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(),
|
LOG.info("ADDED {}; timeout={}, timestamp={}", procedure, procedure.getTimeout(),
|
||||||
procedure.getTimeoutTimestamp());
|
procedure.getTimeoutTimestamp());
|
||||||
queue.add(new DelayedProcedure<>(procedure));
|
queue.add(new DelayedProcedure<>(procedure));
|
||||||
|
|
Loading…
Reference in New Issue