hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12701) Run checkstyle on test source files
Date Thu, 24 Mar 2016 04:33:25 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209731#comment-15209731
] 

John Zhuge commented on HADOOP-12701:
-------------------------------------

Test the patch on Ubuntu VirtualBox VM under MacBook. Before the patch, it took 1:10.947 s
to run {{mvn clean checkstyle:checkstyle}}; after the patch, the same command took 1:26.765
s.

Test the patch on MacBook. Before the patch, it took 41.425 s to run {{mvn clean checkstyle:checkstyle}};
after the patch, the same command took 50.394 s.

> Run checkstyle on test source files
> -----------------------------------
>
>                 Key: HADOOP-12701
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12701
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HADOOP-12701.001.patch
>
>
> Test source files are not checked by checkstyle because Maven checkstyle plugin parameter
*includeTestSourceDirectory* is *false* by default.
> Propose to enable checkstyle on test source files in order to improve the quality of
unit tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message