public class TestCloneSnapshotFromClient extends Object
| Constructor and Description |
|---|
TestCloneSnapshotFromClient() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getNumReplicas() |
void |
setup()
Initialize the tests with a table filled with some data
and two snapshots (snapshotName0, snapshotName1) of different states.
|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testCloneLinksAfterDelete()
Verify that tables created from the snapshot are still alive after source table deletion.
|
void |
testCloneNonExistentSnapshot() |
void |
testCloneOnMissingNamespace() |
void |
testCloneSnapshot() |
void |
testCloneSnapshotCrossNamespace() |
protected void |
verifyReplicasCameOnline(TableName tableName) |
public void setup()
throws Exception
Exceptionprotected int getNumReplicas()
public void testCloneNonExistentSnapshot()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCloneOnMissingNamespace()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCloneSnapshot()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionprotected void verifyReplicasCameOnline(TableName tableName) throws IOException
IOExceptionpublic void testCloneSnapshotCrossNamespace()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCloneLinksAfterDelete()
throws IOException,
InterruptedException
IOExceptionInterruptedException