public class TestTruncateTableProcedure
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestTruncateTableProcedure() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupTest() |
void |
setup() |
static void |
setupCluster() |
void |
tearDown() |
void |
testRecoveryAndDoubleExecutionNoPreserveSplits() |
void |
testRecoveryAndDoubleExecutionPreserveSplits() |
void |
testSimpleTruncateNoPreserveSplits() |
void |
testSimpleTruncatePreserveSplits() |
void |
testTruncateNotDisabledTable() |
void |
testTruncateNotExistentTable() |
protected static final HBaseTestingUtility UTIL
public static void setupCluster()
throws java.lang.Exception
java.lang.Exceptionpublic static void cleanupTest()
throws java.lang.Exception
java.lang.Exceptionpublic void setup()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testTruncateNotExistentTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testTruncateNotDisabledTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleTruncatePreserveSplits()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleTruncateNoPreserveSplits()
throws java.lang.Exception
java.lang.Exceptionpublic void testRecoveryAndDoubleExecutionPreserveSplits()
throws java.lang.Exception
java.lang.Exceptionpublic void testRecoveryAndDoubleExecutionNoPreserveSplits()
throws java.lang.Exception
java.lang.Exception