public class TestZKBasedOpenCloseRegion extends 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 void setup() throws IOException
IOException
public void testReOpenRegion() throws Exception
Exception
public void testRSAlreadyProcessingRegion() throws Exception
Exception