|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectParkNPark.tests.RunAll
public class RunAll
Runs all 48 test configurations
Field Summary | |
---|---|
protected int |
detectionTimeout
The wait timeout to use during fault detections |
protected boolean |
faultInjection
Whether or not fault injection is enabled |
protected int |
faultInjectionMaxDelay
The maximum delay of the fault injection in milliseconds |
protected int |
faultInjectionMinDelay
The minimum delay of the fault injection in milliseconds |
protected int |
getLotsModeCount
When not 0, how many invocations of getLotsMode should be performed |
private String |
jdbcPassword
The JDBC password |
private String |
jdbcURL
The JDBC URL |
private String |
jdbcUsername
The JDBC user name |
protected int |
numServers
The number of servers in this test run |
protected String |
projectRoot
The project root folder |
protected int |
recoveryTimeout
The wait timeout to use during fault recoveries |
Constructor Summary | |
---|---|
RunAll(String projectRoot,
int numServers,
boolean faultInjection,
int faultInjectionMinDelay,
int faultInjectionMaxDelay,
int getLotsMode,
int detectionTimeout,
int recoveryTimeout,
String jdbcURL,
String jdbcUsername,
String jdbcPassword)
Creates a new test suite runner for the given project root path |
Method Summary | |
---|---|
static void |
main(String[] args)
Runs the entire test suite |
void |
run()
Runs the entire test suite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String projectRoot
protected boolean faultInjection
protected int faultInjectionMinDelay
protected int faultInjectionMaxDelay
protected int numServers
protected int getLotsModeCount
protected int recoveryTimeout
protected int detectionTimeout
private String jdbcURL
private String jdbcUsername
private String jdbcPassword
Constructor Detail |
---|
public RunAll(String projectRoot, int numServers, boolean faultInjection, int faultInjectionMinDelay, int faultInjectionMaxDelay, int getLotsMode, int detectionTimeout, int recoveryTimeout, String jdbcURL, String jdbcUsername, String jdbcPassword)
projectRoot
- The root of the project to use in this test
suite runnumServers
- The number of servers to run in this test suite instancefaultInjection
- True if fault injection is enabled or
false if it is disabledfaultInjectionMinDelay
- The minimum delay of the fault injector in millisecondsfaultInjectionMaxDelay
- The maximum delay of the fault injector in millisecondsgetLotsMode
- When not zero, this is the number of iterations to run in getLotsMode
on the client. When zero or less, the client is run with the predefined test suitedetectionTimeout
- The fault detection timeout value to pass to the replication
managerrecoveryTimeout
- The fault recovery timeout value to pass to clientsjdbcURL
- The JDBC URL to use in the database connectionjdbcUsername
- The username to use in the database connectionjdbcPassword
- The password to use in the database connectionMethod Detail |
---|
public static void main(String[] args)
args
- Command-line argumentspublic void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |