org.objectweb.cjdbc.scenario.raidb1.recovery
Class Raidb1BackupScenario

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.Raidb1RecoveryTemplate
                  extended byorg.objectweb.cjdbc.scenario.raidb1.recovery.Raidb1BackupScenario

public class Raidb1BackupScenario
extends Raidb1RecoveryTemplate

This class defines a Raidb1BackupScenario We had a problem where some tasks were left on the backend pending requests and thus we could not start the backup process.

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

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
cm, controller, hm, hm1, hm2, hm3, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
Raidb1BackupScenario()
           
 
Method Summary
 void testBasicRecoveryScenario()
          Test recovery scenario
 void testCompleteRecoveryScenario()
          Test complete recovery scenario, dropping a backend and putting it back online
 void testReadyForBackupFailWhenNotDisabled()
          This checks the backend is NOT ready for backup and reports it
 void testReadyForBackupWhenDisabled()
          We had a problem where some tasks were left on the backend pending requests and thus we could not start the backup process.
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
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

Raidb1BackupScenario

public Raidb1BackupScenario()
Method Detail

testBasicRecoveryScenario

public void testBasicRecoveryScenario()
                               throws java.lang.Exception
Test recovery scenario

Throws:
java.lang.Exception - if fails

testReadyForBackupFailWhenNotDisabled

public void testReadyForBackupFailWhenNotDisabled()
                                           throws java.lang.Exception
This checks the backend is NOT ready for backup and reports it

Throws:
java.lang.Exception - if fails

testReadyForBackupWhenDisabled

public void testReadyForBackupWhenDisabled()
We had a problem where some tasks were left on the backend pending requests and thus we could not start the backup process.


testCompleteRecoveryScenario

public void testCompleteRecoveryScenario()
                                  throws java.lang.Exception
Test complete recovery scenario, dropping a backend and putting it back online

Throws:
java.lang.Exception - if fails


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