You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/01/30 13:20:29 UTC

[impala] 03/05: IMPALA-8135: Bump maven-surefire-plugin version to 2.20

This is an automated email from the ASF dual-hosted git repository.

tarmstrong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit efb333d5c4dc790f15cb07d203a497a149432050
Author: stiga-huang <hu...@gmail.com>
AuthorDate: Tue Jan 29 04:00:48 2019 -0800

    IMPALA-8135: Bump maven-surefire-plugin version to 2.20
    
    Bump maven-surefire-plugin version from 2.18 to 2.20 to support running
    specific methods in a parametized junit test class. Impala has some
    parameterized JUnit test classes, e.g. AuthorizationTest. It supports
    testing on file based authz policy and sentry based authz policy by
    parameterizing the TestContext. With our current maven-surefire-plugin
    version we can't run a single test method in such kind of classes.
    
    This patch bumps maven-surefire-plugin version to 2.20 so we can run
    spercific testMethod of a parameterized class like:
      mvn test -Dtest=AuthorizationTest#TestShowTableResultsFiltered[0]
    or
      mvn test -Dtest=AuthorizationTest#TestShowTableResultsFiltered[*]
    
    Test:
     - run FE tests locally.
    
    Change-Id: Ib1d85e181d1e9a15ab5b5d0d6744b6cbf7d5b5b8
    Reviewed-on: http://gerrit.cloudera.org:8080/12295
    Reviewed-by: Bharath Vissapragada <bh...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 fe/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/pom.xml b/fe/pom.xml
index f44c14f..3fc9fe9 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -601,7 +601,7 @@ under the License.
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.18</version>
+        <version>2.20</version>
         <configuration>
           <reportsDirectory>${surefire.reports.dir}</reportsDirectory>
           <redirectTestOutputToFile>true</redirectTestOutputToFile>