org.objectweb.cjdbc.scenario.raidb1
Class Raidb1BasicFailoverScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
                  extended byorg.objectweb.cjdbc.scenario.raidb1.Raidb1BasicFailoverScenario

public class Raidb1BasicFailoverScenario
extends SimpleRaidb1Template

This class defines a Raidb1BasicFailoverScenario. Test the stability of the controller when databases are failing

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
cm, controller, controllerProcess, hm, hm1, hm2, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
Raidb1BasicFailoverScenario()
           
 
Method Summary
private  void execute()
          Execute the test for failover once the database is loaded
 void testFailOverWithFailFastPool()
          Test CJDBC failover in raidb1 with fail fast pool
 void testFailOverWithNoPool()
          Test CJDBC failover in raidb1 with simple connection manager
 void testFailOverWithRandomWaitPool()
          Test CJDBC failover in raidb1 with randomwait pool
 void testFailOverWithVariablePool()
          Test CJDBC failover in raidb1 with variable pool
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
setUp, tearDown
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Raidb1BasicFailoverScenario

public Raidb1BasicFailoverScenario()
Method Detail

testFailOverWithVariablePool

public void testFailOverWithVariablePool()
Test CJDBC failover in raidb1 with variable pool


testFailOverWithRandomWaitPool

public void testFailOverWithRandomWaitPool()
Test CJDBC failover in raidb1 with randomwait pool


testFailOverWithFailFastPool

public void testFailOverWithFailFastPool()
Test CJDBC failover in raidb1 with fail fast pool


testFailOverWithNoPool

public void testFailOverWithNoPool()
Test CJDBC failover in raidb1 with simple connection manager


execute

private void execute()
              throws java.lang.Exception
Execute the test for failover once the database is loaded

Throws:
java.lang.Exception


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.