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

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Impala 3.2.0
    • Component/s: Frontend
    • Labels:
      None
    • Epic Color:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: