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

Rewrite 'store/encryptionKey.sql' to a JUnit test

    Details

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

      Description

      This test has failed on Solaris10 for a long time, due to issues with the default security provider on this OS. See DERBY-788 for details.

      I consider rewriting this test as interresting because it allows us to see how things can be done in "the JUnit way".

      1) Run test with multiple encryption algorithms with minimal test code duplication.
      2) Special handling of exceptions for specific providers (PCKS11-Solaris).

      The rewritten test might cause some discussion on how we want to handle the issues mentioned above.

        Attachments

        1. derby-1001-1a-preliminary.diff
          32 kB
          Kristian Waagan
        2. derby-1001-1a-preliminary.stat
          0.5 kB
          Kristian Waagan
        3. derby-1001-2a.diff
          43 kB
          Kristian Waagan
        4. derby-1001-2a.stat
          0.8 kB
          Kristian Waagan
        5. derby-1001-3a-fixtestfailure.diff
          0.7 kB
          Kristian Waagan

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: