Class TestRegionStateNodeLock
java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestRegionStateNodeLock
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.master.assignment.RegionStateNodeLock
private final org.apache.hadoop.hbase.client.RegionInfo
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
regionInfo
-
lock
-
-
Constructor Details
-
TestRegionStateNodeLock
public TestRegionStateNodeLock()
-
-
Method Details
-
setUp
-
testLockByThread
-
testLockByProc
- Throws:
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
-
testLockProcThenThread
public void testLockProcThenThread() throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException- Throws:
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
-
testLockThreadThenProc
public void testLockThreadThenProc() throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException- Throws:
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
-
testLockMultiThread
- Throws:
InterruptedException
-