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

Upgrade tests should verify that DERBY-4437 was backed out of 10.8.2.2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • SQL, Test
    • None
    • Normal

    Description

      The following code in UpgradeRun needs to be reworked to verify that sequence/identities behave as expected when upgrading from 10.8.2.2:

      if ( lessThan( version, new int[]

      { 10, 8, 1, 6 }

      ) )

      { suite.addTest(Changes10_8_2.suite(phase)); }

      The following might do the trick:

      if (oldMinor < 7)
      suite.addTest(Changes10_7.suite(phase));
      if (oldMinor < 9)

      { suite.addTest(Changes10_9.suite(phase)); suite.addTest(Changes10_8_2.suite(phase)); }

      Thanks to Kristian for spotting this.

      Attachments

        1. derby-5486-01-ab-mergeFiles.diff
          15 kB
          Richard N. Hillegas
        2. derby-5486-02-aa-removeTests.diff
          6 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: