public class TestWALObserver
extends java.lang.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 static void setupBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void teardownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testWALObserverWriteToWAL()
throws java.lang.Exception
java.lang.Exceptionpublic void testLegacyWALObserverWriteToWAL()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonLegacyWALKeysDoNotExplode()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyWALEditAreNotSeen()
throws java.lang.Exception
java.lang.Exceptionpublic void testWALCoprocessorReplay()
throws java.lang.Exception
java.lang.Exceptionpublic void testWALObserverLoaded()
throws java.lang.Exception
java.lang.Exception