Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5382

Convert existing harness recovery tests to JUnit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.9.1.0
    • Test
    • None
    • Normal
    • Patch Available

    Description

      Existing harness recovery tests need to be converted to JUnit tests. A framework as designed in Derby-4249 can be used for this purpose.

      Tests to be converted:
      a) oc_rec1
      b) oc_rec2
      c) oc_rec3
      d) oc_rec4

      These recovery tests run in coordination. The test oc_rec1 creates a table, inserts and then deletes rows from it and commit it which is followed by a series of insertion of rows in the existing table in oc_rec2, oc_rec3 and oc_rec4. The tests oc_rec2 and oc_3 also create table and insert, delete, compress rows in it and leave the table thus produced in committed or uncommitted state which is tested by the next corresponding test (oc_rec3 for oc_rec2, oc_rec4 for oc_rec3) for recovery.

      Attachments

        1. DERBY-5382.diff
          3 kB
          Myrna van Lunteren
        2. DERBY-5382_2.diff
          5 kB
          Myrna van Lunteren
        3. d5382.patch
          31 kB
          Siddharth Srivastava

        Activity

          People

            siddharthsrivastava Siddharth Srivastava
            siddharthsrivastava Siddharth Srivastava
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: