Class AbstractTestLogRollPeriod
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestLogRollPeriod
- Direct Known Subclasses:
TestAsyncLogRollPeriod
,TestLogRollPeriod
Tests that verifies that the log is forced to be rolled every "hbase.regionserver.logroll.period"
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final long
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkMinLogRolls
(org.apache.hadoop.hbase.wal.WAL log, int minRolls) static void
static void
void
Tests that the LogRoller perform the roll even if there are no editsvoid
Tests that the LogRoller perform the roll with some data in the log
-
Field Details
-
LOG
-
TEST_UTIL
-
LOG_ROLL_PERIOD
- See Also:
-
-
Constructor Details
-
AbstractTestLogRollPeriod
public AbstractTestLogRollPeriod()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testNoEdits
Tests that the LogRoller perform the roll even if there are no edits- Throws:
Exception
-
testWithEdits
Tests that the LogRoller perform the roll with some data in the log- Throws:
Exception
-
checkMinLogRolls
- Throws:
Exception
-