Package org.apache.hadoop.hbase.tool
Class TestCanaryTool
java.lang.Object
org.apache.hadoop.hbase.tool.TestCanaryTool
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private org.apache.logging.log4j.core.Appender
org.junit.rules.TestName
private HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
setUp()
void
tearDown()
void
void
void
void
void
When CanaryTool times out, it should stop scanning and shutdown quickly and gracefully.void
void
void
void
void
void
private void
testZookeeperCanaryWithArgs
(String[] args)
-
Field Details
-
CLASS_RULE
-
testingUtility
-
FAMILY
-
COLUMN
-
name
-
mockAppender
-
-
Constructor Details
-
TestCanaryTool
public TestCanaryTool()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testBasicZookeeperCanaryWorks
- Throws:
Exception
-
testZookeeperCanaryPermittedFailuresArgumentWorks
- Throws:
Exception
-
testBasicCanaryWorks
- Throws:
Exception
-
testCanaryStopsScanningAfterTimeout
When CanaryTool times out, it should stop scanning and shutdown quickly and gracefully. This test helps to confirm that threadpools do not continue executing work after the canary finishes. It also verifies sink behavior and measures correct failure counts in the sink.- Throws:
Exception
- if it can't create a table, communicate with minicluster, or run the canary.
-
testCanaryRegionTaskReadAllCF
- Throws:
Exception
-
testCanaryRegionTaskResult
- Throws:
Exception
-
testReadTableTimeouts
- Throws:
Exception
-
testWriteTableTimeout
- Throws:
Exception
-
testRegionserverNoRegions
- Throws:
Exception
-
testRegionserverWithRegions
- Throws:
Exception
-
testRawScanConfig
- Throws:
Exception
-
runRegionserverCanary
- Throws:
Exception
-
testZookeeperCanaryWithArgs
- Throws:
Exception
-