HBASE-18449 Fix client.locking.TestEntityLocks
This commit is contained in:
parent
d9ea8ee2fb
commit
3d81f7b9e7
|
@ -192,6 +192,9 @@ public class TestEntityLocks {
|
|||
lock.requestLock();
|
||||
lock.await();
|
||||
assertTrue(waitLockTimeOut(lock, 100 * workerSleepTime));
|
||||
while (lock.getWorker().isAlive()) {
|
||||
TimeUnit.MILLISECONDS.sleep(100);
|
||||
}
|
||||
verify(abortable, times(1)).abort(any(), isA(HBaseIOException.class));
|
||||
assertFalse(lock.getWorker().isAlive());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue