Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1783

Sqoop2: Create derby integration upgrade tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.4
    • 1.99.5
    • None
    • None

    Description

      During my validation of 1.99.4 release, I've several times run upgrade scenario when I took repository generated by previous release and let the new release upgrade the structures. We've found several bugs during this manual exercise as we did several changes and we don't have any test coverage in this area. Hence for future releases I would like to introduce automatic upgrade tests that would run as a part of our integration test suite.

      I'm currently thinking of doing exactly what I've done in my manual exercise. We can create example derby repository that is exercising various different values for (all) previous releases and store that an archive with the code. The integration tests will then untar the stored archive and simply run the upgrade procedure This approach won't guarantee that we will catch all upgrade bugs, but will provide reasonable confidence that we can release the new bits without additional manual testing.

      Attachments

        1. derby-repository-1.99.4.tar.gz
          193 kB
          Jarek Jarcec Cecho
        2. sqoop.log
          30 kB
          Abraham Elmahrek
        3. SQOOP-1783.patch
          18 kB
          Jarek Jarcec Cecho
        4. SQOOP-1783.patch
          19 kB
          Jarek Jarcec Cecho
        5. SQOOP-1783.patch
          18 kB
          Jarek Jarcec Cecho
        6. TEST-org.apache.sqoop.integration.repository.derby.upgrade.Derby1_99_4UpgradeTest.xml
          110 kB
          Abraham Elmahrek
        7. tomcat.log
          6 kB
          Abraham Elmahrek

        Issue Links

          Activity

            People

              jarcec Jarek Jarcec Cecho
              jarcec Jarek Jarcec Cecho
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: