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

EJBCA WS Test test25CreateandGetCRL fails when delta CRLs are enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.2.8
    • Fix Version/s: EJBCA 6.2.9
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Another issue

      Description

      CommonEjbcaWS.createAndGetCRL() assumes that delta CRLs are not enabled for the ManagementCA.

      When this assumption fails:

      CRL number of newly generated CRL should be exactly one more than for the previous CRL. expected:<142> but was:<143>

      junit.framework.AssertionFailedError: CRL number of newly generated CRL should be exactly one more than for the previous CRL. expected:<142> but was:<143>
      at org.ejbca.core.protocol.ws.CommonEjbcaWS.createAndGetCRL(CommonEjbcaWS.java:2122)
      at org.ejbca.core.protocol.ws.EjbcaWSTest.test25CreateandGetCRL(EjbcaWSTest.java:497)

      Tasks:

      • Extend the test case to force CRL generation with both delta CRLs disabled and enabled.
      • Restore configuration of the CA after the test has finished.

        Attachments

          Activity

            People

            Assignee:
            johan Johan Eklund
            Reporter:
            johan Johan Eklund
            Verified by:
            Mike Agrenius Kushner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified