Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185620

MSCAPI test leaves too many entries in keystore

    XMLWordPrintable

    Details

      Description

      It seems that MSCAPI related tests leave too many entries in keystore, thus may cause mscapi/keytool/keystore related tests runs very slow.

      One example: sun/security/mscapi/AccessKeyStore.java

      It normally should take less than 2 seconds, but at the box on which many runs have been done, it took 36 seconds. From the .jtr, there are too much keystore entries:

      ----------System.out:(3394/85623)----------
      SunMSCAPI provider classname is sun.security.mscapi.SunMSCAPI
      [0]
          anything (1960) [key-entry]

      ...

      -------------------------------------------------
      [12215]
          anything (576) [key-entry]

      (while for the machine at which test just took less than 2 seconds to complete, the last key-entry is [49])

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjiang John Jiang
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: