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

DnFieldExtractorTest fails in CE version

    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:
      None
    • Issue discovered during:
      Integration

      Description

      org.cesecore.certificates.util.DnFieldExtractorTest.test01CheckDnFields
      
      junit.framework.AssertionFailedError: expected:<28> but was:<27>
      	at org.cesecore.certificates.util.DnFieldExtractorTest.test01CheckDnFields(DnFieldExtractorTest.java:42)
      
      org.cesecore.certificates.util.DnFieldExtractorTest.test01CheckAltNameFields
      
      junit.framework.AssertionFailedError: expected:<17> but was:<16>
      	at org.cesecore.certificates.util.DnFieldExtractorTest.test01CheckAltNameFields(DnFieldExtractorTest.java:106)
      
      DEBUG [org.cesecore.certificates.util.DnComponents] Using default values for DN components
      DEBUG [org.cesecore.certificates.util.DnComponents] Read profile maps with 48 lines.
      [org.cesecore.certificates.util.DnComponents] Properties file /profilemappings_enterprise.properties was not found.
      

      This seems like a false negative and asserts should use different values when running on CE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                johan Johan Eklund
                Verified by:
                Johan Eklund
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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