You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2009/08/18 00:33:15 UTC
[jira] Created: (HDFS-549) Allow non fault-inject specific tests
execution with an explicit -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
Reporter: Konstantin Boudnik
It is currently impossible to run non fault-injection tests with fault-injected build. E.g.
{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.
[jira] Resolved: (HDFS-549) Allow non fault-inject specific tests
execution with an explicit -Dtestcase=... setting
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-549.
-----------------------------------------
Resolution: Fixed
Tested it with the followings:
{noformat}
ant run-with-fault-inject-testcaseonly
ant run-with-fault-inject-testcaseonly -Dtestcase=TestSimulatedFSDataset
ant test -Dtestcase=TestSimulatedFSDataset
{noformat}
It worked fine.
I have committed this. Thanks, Cos!
> 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. E.g.
> {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.
[jira] Reopened: (HDFS-549) Allow non fault-inject specific tests
execution with an explicit -Dtestcase=... setting
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE reopened HDFS-549:
-----------------------------------------
I will revert the patch since there is an incompatible problem, i.e. "ant test -Dtestcase=..." fails for most of the tests.
> 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
>
>
> It is currently impossible to run non fault-injection tests with fault-injected build. E.g.
> {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.