public class TestReadOnlyZKClient extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
CHILDREN |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
DATA |
private static String |
PATH |
private static org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient |
RO_ZK |
private static HBaseZKTestingUtility |
UTIL |
Constructor and Description |
---|
TestReadOnlyZKClient() |
Modifier and Type | Method and Description |
---|---|
static void |
setUp() |
static void |
tearDown() |
void |
testNoNode() |
void |
testNotCloseZkWhenPending() |
void |
testRead() |
void |
testSessionExpire() |
private void |
waitForIdleConnectionClosed() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseZKTestingUtility UTIL
private static byte[] DATA
private static int CHILDREN
private static org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient RO_ZK
public TestReadOnlyZKClient()
public static void tearDown() throws IOException
IOException
private void waitForIdleConnectionClosed() throws Exception
Exception
public void testNoNode() throws InterruptedException, ExecutionException
public void testSessionExpire() throws Exception
Exception
public void testNotCloseZkWhenPending() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.