You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2010/04/29 21:57:56 UTC
[jira] Created: (HADOOP-6735) Remove falut injection compilation
from default ant compilation and ant test-core.
Remove falut 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.
[jira] Resolved: (HADOOP-6735) Remove fault injection compilation
from default ant compilation and ant test-core.
Posted by "Ravi Phulari (JIRA)" <ji...@apache.org>.
[ 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.