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

Skip ProtectedDataPKCS11Test when no PKCS#11 library is configured

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.15.1
    • Fix Version/s: EJBCA 6.15.1
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Integration
    • Sprint:
      EJBCA Team Bob - 2018 w45

      Description

      For example Pkcs11SlotLabelTest skips the tests if no PKCS#11 test library is configured:

          @Before
          public void checkPkcs11DriverAvailable() {
              // Skip test if no PKCS11 driver is installed
              assumeTrue(PKCS11TestUtils.getHSMLibrary() != null);
          }
      

      We should do the same for ProtectedDataPKCS11Test to avoid false negatives.

        Attachments

          Activity

            People

            Assignee:
            bastianf Bastian Fredriksson
            Reporter:
            johan Johan Eklund
            Verified by:
            Johan Eklund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m