[ 
https://issues.apache.org/jira/browse/HADOOP-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Phulari resolved HADOOP-6735.
----------------------------------

    Resolution: Not A Problem

Apparently there is ant run-test-core/hdfs/mapred  and ant run-test-unit 
options to achieve this,

{noformat}
 <target name="test-core" description="Run hdfs unit tests">
    <delete file="${test.build.dir}/testsfailed"/>
    <property name="continueOnFailure" value="true"/>
    <antcall target="run-test-hdfs"/>
    <antcall target="run-test-unit"/>
    <antcall target="run-test-hdfs-fault-inject"/>
    <available file="${test.build.dir}/testsfailed" property="testsfailed"/>
    <fail if="testsfailed">Tests failed!</fail>
  </target>
{noformat}

> 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.

Reply via email to