[ https://issues.apache.org/jira/browse/HDFS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734833#action_12734833
]
Tsz Wo (Nicholas), SZE commented on HDFS-493:
---------------------------------------------
Tried "ant run-test-hdfs" and "ant run-test-hdfs-fault-inject" with the codes posted in HDFS-483.
Both worked fine.
Since only build.xml is changed by the patch, test-patch and unit tests are not related.
I will commit it soon.
> Only fault-injected tests have to be executed by run-test-*-faul-inject targets; none
of fault-injected tests need to be ran normal testing process
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-493
> URL: https://issues.apache.org/jira/browse/HDFS-493
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: build, test
> Reporter: Konstantin Boudnik
> Assignee: Konstantin Boudnik
> Attachments: HDFS-493.patch, HDFS-493.patch
>
>
> New fault injection related tests will be executed by non fault-injected targets (e.g.
run-test-hdfs, run-test-hdfs-with-mr) over un-instrumented classes. Such behavior will be
potentially misleading because fault-injected tests are likely to expect a different system's
behavior when faults are injected into the classes.
>
> Similarly, new targets introduced by HDFS-475 - run-test-hdfs-fault-inject and run-test-hdfs-with-mr-fault-inject
will run normal (non-FI) tests with faults turned on which is likely to fall because of aforementioned
reasons.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|