public class TestSnapshotDescriptionUtils extends Object
SnapshotProtos.SnapshotDescription
helper is helping correctly.Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.fs.Path |
root |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestSnapshotDescriptionUtils() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupFS() |
static void |
setupFS() |
void |
testCompleteSnapshotWithNoSnapshotDirectoryFailure()
Test that we throw an exception if there is no working snapshot directory when we attempt to
'complete' the snapshot
|
void |
testIsSubDirectoryWorks() |
void |
testIsWithinWorkingDir() |
void |
testValidateMissingTableName() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.fs.FileSystem fs
private static org.apache.hadoop.fs.Path root
private static final org.slf4j.Logger LOG
public TestSnapshotDescriptionUtils()
public void testValidateMissingTableName() throws IOException
IOException
public void testCompleteSnapshotWithNoSnapshotDirectoryFailure() throws Exception
Exception
- on failurepublic void testIsSubDirectoryWorks()
public void testIsWithinWorkingDir() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.