public class TestFailedAppendAndSync extends 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 IOException
IOExceptionpublic void testLockupAroundBadAssignSync()
throws IOException
IOExceptionpublic HRegion initHRegion(TableName tableName, byte[] startKey, byte[] stopKey, WAL wal) throws IOException
HBaseTestingUtility.closeRegionAndWAL(HRegion) when done.IOException