hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7654) Change maven setup to not run tests by default
Date Mon, 19 Sep 2011 23:59:08 GMT

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

Aaron T. Myers commented on HADOOP-7654:
----------------------------------------

bq. I think it is a serious mistake to disable all of the tests by default.

Why?

My workflow is such that I end up explicitly disabling the tests more often than not when
running maven commands, so it makes sense to me that we shouldn't run the full test suite
except when explicitly directing maven to do so. It seems unrealistic to me to expect that
every time someone runs {{`mvn package'}} they also happen to want to run the full test suite.
Granted, this wouldn't be so onerous if it didn't take multiple hours for the test suite to
run, but so be it.

> Change maven setup to not run tests by default
> ----------------------------------------------
>
>                 Key: HADOOP-7654
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7654
>             Project: Hadoop Common
>          Issue Type: Wish
>          Components: build
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>             Fix For: 0.24.0
>
>
> I find that I now type "-DskipTests" many, many times per day when working on Hadoop.
We should change the default to not run tests except when explicitly given a test target.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message