hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-549) Allow non fault-inject specific tests execution with an explicit -Dtestcase=... setting
Date Wed, 02 Sep 2009 01:58:33 GMT

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

Konstantin Boudnik updated HDFS-549:

    Attachment: HDFS-549.patch

This new patch introduces new target {{run-with-fault-inject-testcaseonly}} which isn't visible
in project's help and allow an execution of non-FI tests in FI-enable environment.

Upon execution of 
  % ant test-core -Dtestcase=<testname>

only non-FI or FI related test case will be executed.

Also, as the matter of precaution if new target is executed without a test case specification
the build is aborted immediately with the 
/.../work/Hdfs.inj/build.xml:365: Can't run this target without -Dtestcase setting!

> Allow non fault-inject specific tests execution with an explicit -Dtestcase=... setting
> ---------------------------------------------------------------------------------------
>                 Key: HDFS-549
>                 URL: https://issues.apache.org/jira/browse/HDFS-549
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.21.0
>         Attachments: HDFS-549.patch, HDFS-549.patch, HDFS-549.patch
> It is currently impossible to run non fault-injection tests with fault-injected build.
> {noformat}
>   ant run-test-hdfs-fault-inject -Dtestcase=TestFileCreation
> {noformat}
> because {{macro-test-runner}} does look for a specified test case only under {{src/test/aop}}
folder if a fault injection tests are ran. This render the use of non fault injection tests
impossible in the FI environment.

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

View raw message