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
IOExceptionpublic void testReOpenRegion()
throws Exception
Exceptionpublic void testRSAlreadyProcessingRegion()
throws Exception
Exception