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

testSecMec needs many masters - should convert to junit

    Details

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

      Description

      derbynet/testSecMec.java fails with jcc2.8 with 131 vms. I have checked the diff and it is a master update with difference in the exception, message string.

      diff snippet:
      8 del
      < T5: jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:user=neelima;password=lee;securityMechanism=9; - EXCEPTION java.security.InvalidAlgorithmParameterException is caught when initializing EncryptionManager 'Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)'
      8a8
      > T5: jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:xxxFILTEREDPORTxxx/wombat:user=neelima;password=lee;securityMechanism=9; - EXCEPTION java.security.NoSuchAlgorithmException is caught when initializing EncryptionManager 'DH KeyPairGenerator not available'
      14 del

      ----------------
      There is difference in the exception message and will require lot of jvm specific master files which can become difficult to maintain. Myrna suggested that this might be a good test to convert to junit.

        Attachments

        1. DERBY-1496_20070321.diff
          38 kB
          Myrna van Lunteren
        2. authtest_clear_prop.txt
          4 kB
          Daniel John Debrunner
        3. DERBY-1496_20070306.diff
          125 kB
          Myrna van Lunteren
        4. DERBY-1496_20070306.stat
          1 kB
          Myrna van Lunteren
        5. DERBY-1496_tmp_072206.diff
          47 kB
          Myrna van Lunteren
        6. DERBY-1496_tmp_072206.stat
          0.6 kB
          Myrna van Lunteren

          Activity

            People

            • Assignee:
              myrna Myrna van Lunteren
              Reporter:
              skambha Sunitha Kambhampati
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: