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

Convert existing harness recovery tests to JUnit tests

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None
    • Urgency:
      Normal
    • Issue & fix info:
      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. d5382.patch
          31 kB
          Siddharth Srivastava
        2. DERBY-5382.diff
          3 kB
          Myrna van Lunteren
        3. DERBY-5382_2.diff
          5 kB
          Myrna van Lunteren

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: