Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3775

Automate the manual persistent store tests

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: Java Tests
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              k-wall Keith Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: