public class TestFailedAppendAndSync
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Configuration |
CONF |
TestName |
name |
protected TableName |
tableName |
| Constructor and Description |
|---|
TestFailedAppendAndSync() |
| Modifier and Type | Method and Description |
|---|---|
HRegion |
initHRegion(TableName tableName,
byte[] startKey,
byte[] stopKey,
WAL wal) |
void |
setup() |
void |
tearDown() |
void |
testLockupAroundBadAssignSync()
Reproduce locking up that happens when we get an exceptions appending and syncing.
|
public TestName name
public static Configuration CONF
protected TableName tableName
public void setup()
throws java.io.IOException
java.io.IOExceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testLockupAroundBadAssignSync()
throws java.io.IOException
java.io.IOExceptionpublic HRegion initHRegion(TableName tableName, byte[] startKey, byte[] stopKey, WAL wal) throws java.io.IOException
HBaseTestingUtility.closeRegionAndWAL(HRegion) when done.java.io.IOException