Convert the old-style Java test store.ReEncryptCrashRecovery to JUnit.
Make it possible to turn off encryption on an already encrypted database.
Test has been running for a few days without failures.
Committed to trunk with revision 1392375.
Awaiting results from automatic tests before closing.
Attaching a proper diff. Also removes one master, removes the test from a runlist, and adds the new test to the store suite.
Note that the test now only deletes the database(s) if the test passes. Otherwise the deletion will typically fail and mask the real error/problem.
Patch ready for review.
Attaching first draft of the test.
It runs, but I need to fix a few things first:
o fix documentation and JavaDoc comments
o complete cleanup
o decide if the demonstrated database deletion code is ok. I'm considering adding a flag instructing the test to only delete the databases if the test passed. the logic could also be moved to tearDown if I use an instance variable.
Ready for initial review/commenting.
I plan to re-use this test for the decryption feature, so I'm marking it as a blocker for DERBY-5792.