public abstract class AbstractTestLogRollPeriod extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private static long |
LOG_ROLL_PERIOD |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
AbstractTestLogRollPeriod() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkMinLogRolls(org.apache.hadoop.hbase.wal.WAL log,
int minRolls) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testNoEdits()
Tests that the LogRoller perform the roll even if there are no edits
|
void |
testWithEdits()
Tests that the LogRoller perform the roll with some data in the log
|
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility TEST_UTIL
private static final long LOG_ROLL_PERIOD
public AbstractTestLogRollPeriod()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testNoEdits() throws Exception
Exceptionpublic void testWithEdits() throws Exception
Exceptionprivate void checkMinLogRolls(org.apache.hadoop.hbase.wal.WAL log, int minRolls) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.