Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-3960

CaPKCS11SessionTest fails and never recovers if test is aborted

    Details

      Description

      1. Run "ant test:runone -Dtest.runone=CaPKCS11SessionTest"
      2. Abort it in the middle (press Ctrl-C)
      3. Run it again to let it clean up old data
      4. Try to run one more time.

      Actual results:
      It throws an exception and fails to delete existing data, and a CA named "TEST GEN KEYS" is left in the database. This CA causes problems in the GUI since it doesn't have a cert chain, e.g. it prevents the Internal Key Bindings listing from working.

      Expected results:
      The test should clean up after itself in step 3 and should work in step 4.

        Attachments

          Activity

            People

            Assignee:
            samuel Samuel Lidén Borell
            Reporter:
            samuel Samuel Lidén Borell
            Verified by:
            Mike Agrenius Kushner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: