public class TestEntityLocks extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestEntityLocks() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testEntityLock()
Test basic lock function - requestLock, await, unlock.
|
void |
testEntityLockTimeout()
Test that abort is called when lock times out.
|
void |
testHeartbeatException()
Test that abort is called when lockHeartbeat fails with IOException.
|
public static final HBaseClassTestRule CLASS_RULE
public TestEntityLocks()
public void testEntityLock() throws Exception
Exceptionpublic void testEntityLockTimeout() throws Exception
Exceptionpublic void testHeartbeatException() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.