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
Exception
protected int getNumReplicas()
public void testCloneNonExistentSnapshot() throws IOException, InterruptedException
IOException
InterruptedException
public void testCloneOnMissingNamespace() throws IOException, InterruptedException
IOException
InterruptedException
public void testCloneSnapshot() throws IOException, InterruptedException
IOException
InterruptedException
protected void verifyReplicasCameOnline(TableName tableName) throws IOException
IOException
public void testCloneSnapshotCrossNamespace() throws IOException, InterruptedException
IOException
InterruptedException
public void testCloneLinksAfterDelete() throws IOException, InterruptedException
IOException
InterruptedException