@Command(name="smoke", description="Runs a smoke test which consists of running the configured operation mix once to see whether all operations pass successfully.") public class SmokeCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
boolean |
random
Enable random order option
|
static int |
SMOKE_TESTS_FAILED |
ANSI_RED, ANSI_RESET, askFormat, debug, dsAssemblerFile, enableCompression, ensureAbsoluteURIs, formPwdField, formUrl, formUserField, graphFormat, gspEndpoint, haltAny, haltOnError, haltOnTimeout, helpOption, inMemoryOperations, insecure, limit, logFile, logToConsole, maxDelay, mixFile, noCount, noRandom, parallelThreads, password, preemptiveAuth, queryEndpoint, quiet, sampleRepeats, sampleSize, sanityCheckLevel, selectFormat, setupMixFile, teardownMixFile, timeout, trace, updateEndpoint, username
Constructor and Description |
---|
SmokeCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
applySoakOptions(SoakOptions options)
Applies smoke testing options provided by this command
|
static void |
main(String[] args)
Runs the command line smoke testing process
|
protected int |
run()
Method that should be implemented to run the actual command
|
applyStandardOptions, showUsage
public static final int SMOKE_TESTS_FAILED
public boolean random
public static void main(String[] args)
args
- Argumentsprotected int run() throws IOException
AbstractCommand
run
in class AbstractCommand
IOException
protected void applySoakOptions(SoakOptions options)
options
- Options to populateCopyright © 2015. All rights reserved.