public class TestWALObserver extends Object
MasterObserver interface hooks at
all appropriate times during normal HMaster operations.| Modifier and Type | Field and Description |
|---|---|
TestName |
currentTest |
| Constructor and Description |
|---|
TestWALObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setupBeforeClass() |
void |
tearDown() |
static void |
teardownAfterClass() |
void |
testEmptyWALEditAreNotSeen()
Coprocessors shouldn't get notice of empty waledits.
|
void |
testLegacyWALObserverWriteToWAL()
Test WAL write behavior with WALObserver.
|
void |
testNonLegacyWALKeysDoNotExplode() |
void |
testWALCoprocessorReplay()
Test WAL replay behavior with WALObserver.
|
void |
testWALObserverLoaded()
Test to see CP loaded successfully or not.
|
void |
testWALObserverWriteToWAL()
Test WAL write behavior with WALObserver.
|
public void testWALObserverWriteToWAL()
throws Exception
Exceptionpublic void testLegacyWALObserverWriteToWAL()
throws Exception
Exceptionpublic void testNonLegacyWALKeysDoNotExplode()
throws Exception
Exceptionpublic void testEmptyWALEditAreNotSeen()
throws Exception
Exceptionpublic void testWALCoprocessorReplay()
throws Exception
Exception