public class TestZKBasedOpenCloseRegion
extends java.lang.Object
| Constructor and Description |
|---|
TestZKBasedOpenCloseRegion() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterAllTests() |
static void |
beforeAllTests() |
void |
setup() |
void |
testRegionOpenFailsDueToIOException()
If region open fails with IOException in openRegion() while doing tableDescriptors.get()
the region should not add into regionsInTransitionInRS map
|
void |
testReOpenRegion()
Test we reopen a region once closed.
|
void |
testRSAlreadyProcessingRegion()
This test shows how a region won't be able to be assigned to a RS
if it's already "processing" it.
|
public static void beforeAllTests()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterAllTests()
throws java.lang.Exception
java.lang.Exceptionpublic void setup()
throws java.io.IOException
java.io.IOExceptionpublic void testReOpenRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testRSAlreadyProcessingRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionOpenFailsDueToIOException()
throws java.lang.Exception
java.lang.Exception