Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The Java broker currently has a suite of manual persistent store tests. These tests should be automated as part of the System Test suite.
BDB-Qpid-1 Verifies that committed messages survive clean broker shutdown, after fully completing a number of transactions.
BDB-Qpid-2 Verifies that committed messages survive immediate (kill -9) broker shutdown, after fully completing a number of transactions.
BDB-Qpid-5 Verifies that committed messages survive clean broker shutdown, when broker is shutdown mid-transaction.
BDB-Qpid-6 Verifies that committed messages survive immediate (kill -9) broker shutdown, when broker is shutdown mid-transaction.
BDB-Qpid-7 Verifies that committed messages survive client connection termination, when clients connection is closed mid-transaction.
BDB-Qpid-8 Verifies that committed messages survive message store backup and restore, when broker is restarted on a restored backup.
The non-store implementation specific tests should be incorporated into the PersistentStoreTest system test. The test BDB-Qpid-8 is BDB specific and a should be implemented as in BDB specific system test.
QBTC will need to be extended to permit the shutting down the Broker down ungracefully (using kill -9). Currently the framework uses java.lang.Process#destroy() which is implemented as kill -15.