public class TestRestoreSnapshotHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Path |
archiveDir |
protected Configuration |
conf |
protected FileSystem |
fs |
protected Path |
rootDir |
protected static java.lang.String |
TEST_HFILE |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestRestoreSnapshotHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected SnapshotTestingUtils.SnapshotMock |
createSnapshotMock() |
void |
setup() |
protected void |
setupConf(Configuration conf) |
void |
tearDown() |
void |
testRestore() |
void |
testRestoreWithNamespace() |
protected static final HBaseTestingUtility TEST_UTIL
protected static final java.lang.String TEST_HFILE
protected Configuration conf
protected Path archiveDir
protected FileSystem fs
protected Path rootDir
protected void setupConf(Configuration conf)
public void setup()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionprotected SnapshotTestingUtils.SnapshotMock createSnapshotMock() throws java.io.IOException
java.io.IOExceptionpublic void testRestore()
throws java.io.IOException
java.io.IOExceptionpublic void testRestoreWithNamespace()
throws java.io.IOException
java.io.IOException