Package org.apache.hadoop.hbase
Class IntegrationTestsDriver
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.IntegrationTestsDriver
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
This class drives the Integration test suite execution. Executes all tests
having @Category(IntegrationTests.class) annotation against an already deployed distributed
cluster.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classNested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final Stringprivate static final StringFields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected intdoWork()private Class<?>[]Returns test classes annotated with @Category(IntegrationTests.class), according to the filter specific on the command line (if any).static voidprotected voidprocessOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
-
Field Details
-
SHORT_REGEX_ARG
- See Also:
-
LONG_REGEX_ARG
- See Also:
-
LOG
-
intTestFilter
-
-
Constructor Details
-
IntegrationTestsDriver
public IntegrationTestsDriver()
-
-
Method Details
-
main
- Throws:
Exception
-
addOptions
- Specified by:
addOptionsin classorg.apache.hadoop.hbase.util.AbstractHBaseTool
-
processOptions
- Specified by:
processOptionsin classorg.apache.hadoop.hbase.util.AbstractHBaseTool
-
findIntegrationTestClasses
private Class<?>[] findIntegrationTestClasses() throws ClassNotFoundException, LinkageError, IOExceptionReturns test classes annotated with @Category(IntegrationTests.class), according to the filter specific on the command line (if any). -
doWork
- Specified by:
doWorkin classorg.apache.hadoop.hbase.util.AbstractHBaseTool- Throws:
Exception
-