Skip to content

Version 3.28 of the license list broke long running unit tests #403

@goneall

Description

@goneall

When running the unit tests with the environment variable SPDX_JAVA_LIB_RUN_SLOW_TESTS=true, the tests fail with the error:

[ERROR] Failures:
[ERROR]   LicenseCompareHelperTest.testMatchingStandardLicenseExceptionIdsWithinText:792->assertListsEqual:733 Expected: [Classpath-exception-2.0] but was: [Classpath-exception-2.0, Classpath-exception-2.0-short]

This is due to the recently introduced Classpath-exception-2.0-short license whose text is a strict subset of the text in Classpath-exception-2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions