| java.lang.Object org.apache.derbyTesting.unitTests.harness.T_Generic org.apache.derbyTesting.unitTests.store.T_Recovery
T_Recovery | public class T_Recovery extends T_Generic (Code) | | A protocol unit test for recovery.
To run, create a derby.properties file in a new directory with the
contents
derby.module.test.recovery=org.apache.derbyTesting.unitTests.store.T_Recovery
Execute
java -DSetupRecovery=true org.apache.derbyTesting.unitTests.harness.UnitTestMain
java -DTestRecovery=true org.apache.derbyTesting.unitTests.harness.UnitTestMain
|
Method Summary | |
protected void | R001() | protected void | R002() | protected void | R003() | protected void | R004() | protected void | R005() | protected void | R006() | protected void | R007() | protected void | R008() | protected void | R009() | protected void | R010() | protected void | R011() | protected void | R012() | protected void | R020() | protected void | R022() | protected void | R100() | protected void | R101() | protected void | R200() | protected void | R201() | protected void | R202() | protected void | R203() | protected void | R204() | protected void | R300() | protected void | R301() | protected void | R302() | protected void | R303() | protected void | R304() | protected void | R999() | protected void | S001() | protected void | S002() | protected void | S003() | protected void | S004() | protected void | S005() | protected void | S006() | protected void | S007() | protected void | S008() | protected void | S009() | protected void | S010() | protected void | S011() | protected void | S012() | protected void | S020() | protected void | S022() | protected void | S100() | protected void | S101() | protected void | S200() | protected void | S201() | protected void | S202() | protected void | S203() | protected void | S204() | protected void | S300() | protected void | S301() | protected void | S302() | protected void | S303() Test space reclaimation - purging of a row with serveral long columns
rollback and repurge them again. | protected void | S304() | protected void | S999() | public String | getModuleToTestProtocolName() | public void | runTests() Tests in here come in pairs (Snnn Rnnn), one to set it up, one to test
it after recovery. |
T_Recovery | public T_Recovery()(Code) | | |
S303 | protected void S303() throws StandardException, T_Fail(Code) | | Test space reclaimation - purging of a row with serveral long columns
rollback and repurge them again.
exception: T_Fail - Unexpected behaviour from the API exception: StandardException - Unexpected exception from the implementation |
S304 | protected void S304() throws StandardException, T_Fail(Code) | | Test space reclaimation - purging of a long rows with a rollback and
purging again after recovery in R304
exception: T_Fail - Unexpected behaviour from the API exception: StandardException - Unexpected exception from the implementation |
getModuleToTestProtocolName | public String getModuleToTestProtocolName()(Code) | | |
runTests | public void runTests() throws T_Fail(Code) | | Tests in here come in pairs (Snnn Rnnn), one to set it up, one to test
it after recovery. Information that needs to be passed from the setup
to the recovery should, ideally, be written out to a database. For
now, it is written out as a pair of long in the file
T_Recovery.info.
To make sure you don't accidently tramples on someone else's key,
encode your test number (nnn) by shifting over 32 bits and then add
your key. Multiple invocations which needs paramaters saved should
be encoded futher.
001 < nnn < 200 - no recovery undo
200 < nnn < 400 - recovery undo
exception: T_Fail - Unexpected behaviour from the API |
|
|