hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6735) Remove fault injection compilation from default ant compilation and ant test-core.
Date Thu, 29 Apr 2010 20:05:53 GMT

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

Konstantin Boudnik commented on HADOOP-6735:
--------------------------------------------

Fault injection tests are valuable part of the hadoop testing. E.g. it allowed to find many
problems in HDFS' append feature. Yes, the compilation time is slightly increases but compare
to the runtime of all the tests it barely adds a percent or less.

Having an optional flag to switch some testing on/off is almost a guarantee that this testing
will never be run by anyone.

Besides, FI tests are only part of 'test-core' target. You can avoid running it by starting
'ant run-test-core' instead of 'ant test'

> Remove fault injection compilation from default ant compilation and ant test-core.
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6735
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6735
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ravi Phulari
>
> Compiling fault-injection code while running ant tests increases test time by considerable
amount of time.  It would be great if by default fi code is not compiled every time ant tests
are run.
> We should add flag to run fault injection code on demand.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message