Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18126

Update junit 5 version due to build issues

    XMLWordPrintableJSON

Details

    Description

      Feb 11, 2022 11:31:43 AM org.junit.platform.launcher.core.DefaultLauncher handleThrowable WARNING: TestEngine with ID 'junit-vintage' failed to discover tests org.junit.platform.commons.JUnitException: Failed to parse version of junit:junit: 4.13.2 at org.junit.vintage.engine.JUnit4VersionCheck.parseVersion(JUnit4VersionCheck.java:54) 

      https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3980/1/artifact/out/patch-unit-root.txt

      seems like junit.vintage.version=5.5.1 is incompatible with junit.version=4.13.2

      see 2nd answer on https://stackoverflow.com/questions/59900637/error-testengine-with-id-junit-vintage-failed-to-discover-tests-with-spring

      my plan is to upgrade junit.vintage.version and junit.jupiter.version to 5.8.2

       

      Attachments

        Issue Links

          Activity

            People

              pj.fanning PJ Fanning
              pj.fanning PJ Fanning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h