-
Bug
-
Resolution: Done
-
Blocker
-
7.7.0.GA
-
None
-
CR2
-
-
-
-
-
-
CR2
-
Workaround Exists
-
-
Tests in optaplanner project cannot be run due to a presence of both junit-vintage-engine and a productized version of junit4 on classpath. The junit-vintage-engine fails to parse [1] product version 4.12.0.redhat-003 and, as a result, no tests are executed. The issue has been already raised with junit [2].
As a consequence, if a customer creates a project that uses product dependencies as preferred, the project will be in the same situation due to pulling both junit-vintage-engine and product version of junit4 on its classpath.
[1] https://github.com/junit-team/junit5/blob/master/junit-vintage-engine/src/main/java/org/junit/vintage/engine/JUnit4VersionCheck.java#L28
[2] https://github.com/junit-team/junit5/issues/2198
This issue prevents running tests with CR1. The described workaround changes dependencies we test with.