public class ConcurrentTestTimedCommandGenerator extends ConcurrentTestCommandGenerator
ConcurrentTestCommandGeneratorand repeats the configured command sequence until a certain amount of time has elapsed.
The command sequence is always completed in full, even if the time limit has been exceeded. Therefore, the time limit can only be considered the minimum length of time that the test will run and not a guarantee of how long the test will take.
|Constructor and Description|
Constructs a new ConcurrentTestTimedCommandGenerator that will run for at least the given amount of time.
addCloseCommand, addCommand, addCommitCommand, addDdlCommand, addExplainCommand, addFetchAndCompareCommand, addInsertCommand, addPrepareCommand, addRollbackCommand, addSleepCommand, addSynchronizationCommand, execute, failed, getFailedThreads, getThreadIds, getThreadName, hasValidSynchronization, innerExecute, postExecute, setDataSource, setDebug, setDebug, setThreadName, synchronizeCommandSets
public ConcurrentTestTimedCommandGenerator(int runTimeSeconds)
ConcurrentTestTimedCommandGeneratorfor more information on the semantics of run-time length.
runTimeSeconds- minimum run-time length, in seconds
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.