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

Fix test failures due to NPE in CaTestCase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.12.0
    • Fix Version/s: EJBCA 6.12.0
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Review
    • Sprint:
      EJBCA Sprint 10

      Description

      There are test failures due to a change in how CaTestCase.getTestCAId works.

      Before it simply assumed the the CA was called "CN=name" and did a hashCode() to obtain the ID. In ECA-6708 it was fixed to actually look up the CA, but this breaks some tests that assume that non-existing CAs can be looked up with this method.

        Attachments

          Activity

            People

            • Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Henrik Sunmark
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified