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

Zhe Zhang commented on HDFS-6992:
---------------------------------

This issue will enable testing for HDFS-5114.

> DN decommission control as a utility for unit testing
> -----------------------------------------------------
>
>                 Key: HDFS-6992
>                 URL: https://issues.apache.org/jira/browse/HDFS-6992
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Minor
>
> Currently {{TestDecommission}} contains all test cases as well as control 
> logic for decommission-related tests. This is not ideal because the  
> decommissioning process has too many perspectives to fit in one class. As a 
> matter of fact the current {{TestDecommission}} class is a bit too long, with 
> ad hoc test cases like {{testDecommission}} and {{testDecommission2}}.
> It is better to move the decommissioning logic to {{DFSTestUtil}} so it can 
> be called in other unit testing classes such as {{TestReplicationPolicy}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to