public class TestMobCloneSnapshotFromClient extends TestCloneSnapshotFromClient
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMobCloneSnapshotFromClient.DelayFlushCoprocessor
This coprocessor is used to delay the flush.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
admin, emptySnapshot, FAMILY, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_UTIL| Constructor and Description |
|---|
TestMobCloneSnapshotFromClient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createTableAndSnapshots() |
static void |
setUpBeforeClass() |
protected static void |
setupConfiguration() |
void |
testCloneLinksAfterDelete()
Verify that tables created from the snapshot are still alive after source table deletion.
|
protected void |
verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
getNumReplicas, setup, tearDown, tearDownAfterClass, testCloneNonExistentSnapshot, testCloneOnMissingNamespace, testCloneSnapshot, testCloneSnapshotCrossNamespace, verifyReplicasCameOnlinepublic static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestMobCloneSnapshotFromClient()
protected static void setupConfiguration()
public static void setUpBeforeClass() throws Exception
Exceptionprotected void createTableAndSnapshots() throws Exception
createTableAndSnapshots in class TestCloneSnapshotFromClientExceptionpublic void testCloneLinksAfterDelete() throws IOException, InterruptedException
TestCloneSnapshotFromClienttestCloneLinksAfterDelete in class TestCloneSnapshotFromClientIOExceptionInterruptedExceptionprotected void verifyRowCount(HBaseTestingUtility util, TableName tableName, long expectedRows) throws IOException
verifyRowCount in class TestCloneSnapshotFromClientIOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.