[ https://issues.apache.org/jira/browse/HADOOP-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Boudnik moved HDFS-820 to HADOOP-6423: ------------------------------------------------- Component/s: (was: build) build Fix Version/s: (was: 0.22.0) (was: 0.21.0) Affects Version/s: (was: 0.22.0) (was: 0.21.0) 0.22.0 0.21.0 Issue Type: Improvement (was: Test) Key: HADOOP-6423 (was: HDFS-820) Project: Hadoop Common (was: Hadoop HDFS) > CLONE -Add unit tests framework (Mockito) > ----------------------------------------- > > Key: HADOOP-6423 > URL: https://issues.apache.org/jira/browse/HADOOP-6423 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 0.21.0, 0.22.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > > Most HDFS tests are functional tests that test a feature end to end by > running a mini cluster. We should add more tests like TestReplication that > attempt to stress individual classes in isolation, ie by stubbing out > dependencies without running a mini cluster. This allows for more fine-grain > testing and making tests run much more quickly because they avoid the cost of > cluster setup and teardown. If it makes sense to use another framework > besides junit we should standardize with MAPREDUCE-1050. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.