Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8135

Bump maven-surefire-plugin version to at least 2.19 to support running a single parameterized test

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.2.0
    • Frontend
    • None
    • ghx-label-7

    Description

      Our current version of maven-surefire-plugin is 2.18 which does not support running a single parameterized test. For example, AuthorizationTest is a parameterized test class to support tests on file based auth and sentry based auth together. Currently, we can't run a single test method like:

      (pushd fe && mvn test -Dtest=AuthorizationTest#TestDescribeTableResults[*])

      I'm in branch-2.x. My head is e288128ba and I'm cherry-picking 9282fa3ba. AuthorizationTest#TestDescribeTableResults is the only test failures needed to fix.

      We need to upgrade maven-surefire-plugin to at least 2.19 to support this: http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html#Multiple_Formats_in_One

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: