Derby
  1. Derby
  2. DERBY-5764

Make DatabaseMetaDataTest more robust wrt changes made by other tests

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.10.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      The subset of tests from DatabaseMetaDataTest being run as part of the upgrade tests is sensitive to changes in the database made by other tests. For instance, adding tables with foreign keys will make the test fail due to extra rows in system tables.

      Usually this could be solved by using a single-use db wrapper of some sort, but in the upgrade tests the database will be booted several times with different versions of Derby and the data needs to be preserved between some of these boots.

      1. derby-5764-1a-upgraderun_cleanup.diff
        2 kB
        Kristian Waagan
      2. derby-5764-2a-specify_schema.diff
        46 kB
        Kristian Waagan
      3. derby-5764-3a-add_test_case_schema_null.diff
        5 kB
        Kristian Waagan
      4. derby-5764-3b-add_test_case_schema_null.diff
        5 kB
        Kristian Waagan

        Activity

        Kristian Waagan created issue -
        Kristian Waagan made changes -
        Field Original Value New Value
        Attachment derby-5764-1a-upgraderun_cleanup.diff [ 12527568 ]
        Kristian Waagan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Kristian Waagan made changes -
        Attachment derby-5764-2a-specify_schema.diff [ 12527575 ]
        Kristian Waagan made changes -
        Kristian Waagan made changes -
        Kristian Waagan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 10.10.0.0 [ 12321550 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12668068 ] Default workflow, editable Closed status [ 12797056 ]
        Knut Anders Hatlen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development