Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22794

Upgrade JUnit Vintage for flink-sql-parser and flink-sql-hive-parser

    XMLWordPrintableJSON

Details

    Description

      In FLINK-22778,set junit.version:4.13.2,it cause flink-sql-parser test work failed.

      and now junit-jupiter-engine:5.5.2;junit-vintage-engine:5.5.2.

      org.junit.vintage.engine.JUnit4VersionCheck#parseVersion cannot identify the version number correctly,e.g 4.13.2.

      so we can update sql-parser and sql-hive-parser to 5.7.0 at least.

      below is release note:

      JUnit Vintage

      Bug Fixes

      • The Vintage engine no longer fails when resolving a MethodSelector for methods of test classes that cannot be found via reflection. This allows selecting Spock feature methods by their source code name even though they have a generated method name in the bytecode.

        New Features and Improvements

      • The internal JUnit4VersionCheck class — which verifies that a supported version of JUnit 4 is on the classpath — now implements a lenient version ID parsing algorithm in order to support custom version ID formats such as 4.12.04.12-patch_1, etc.

       

       

      Attachments

        Issue Links

          Activity

            People

              ZhaoWeiNan WeiNan Zhao
              ZhaoWeiNan WeiNan Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: