[ 
https://issues.apache.org/jira/browse/HDFS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733271#action_12733271
 ] 

Konstantin Boudnik commented on HDFS-493:
-----------------------------------------

Also, patch introduces the notion that FI related tests have a lightly 
different naming convention. E.g.

{noformat}
<property name="test.include" value="TestFi*"/>
{noformat}

this should be considered when new tests are developed

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

Reply via email to