[ https://issues.apache.org/jira/browse/HDFS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Boudnik updated HDFS-493: ------------------------------------ Status: Patch Available (was: Open) This patch creates a number of conditions for tests execution. This is needed to distinguish between FI-related and non-FI tests, because their sources are taken from different places and shouldn't interleave with each other. > 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.