public class TestMasterRegistry extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMasterRegistry() |
Modifier and Type | Method and Description |
---|---|
private static String |
generateDummyMastersList(int size)
Generates a string of dummy master addresses in host:port format.
|
static void |
setUp() |
static void |
tearDown() |
void |
testDynamicMasterConfigurationRefresh()
Tests that the list of masters configured in the MasterRegistry is dynamically refreshed in the
event of errors.
|
void |
testMasterAddressParsing()
Makes sure the master registry parses the master end points in the configuration correctly.
|
void |
testRegistryRPCs() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
public TestMasterRegistry()
private static String generateDummyMastersList(int size)
public void testMasterAddressParsing() throws IOException
IOException
public void testRegistryRPCs() throws Exception
Exception
public void testDynamicMasterConfigurationRefresh() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.