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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testNoEdits() throws Exception
Exception
public void testWithEdits() throws Exception
Exception
private void checkMinLogRolls(org.apache.hadoop.hbase.wal.WAL log, int minRolls) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.