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

Hudson commented on HDFS-15019:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17707 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17707/])
HDFS-15019. Refactor the unit test of TestDeadNodeDetection. Contributed 
(yqlin: rev c3659f8f94bef7cfad0c3fb04391a7ffd4221679)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDeadNodeDetection.java


> Refactor the unit test of TestDeadNodeDetection 
> ------------------------------------------------
>
>                 Key: HDFS-15019
>                 URL: https://issues.apache.org/jira/browse/HDFS-15019
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yiqun Lin
>            Assignee: Lisheng Sun
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: HDFS-15019.001.patch
>
>
> There are many duplicated lines in unit test \{{TestDeadNodeDetection}}. We 
> can simplified that.
> In additional in {{testDeadNodeDetectionInMultipleDFSInputStream}}, the 
> DFSInputstream is passed incorrectly in asset operation.
> {code}
> din2 = (DFSInputStream) in1.getWrappedStream();
> {code}
> Should be 
> {code}
> din2 = (DFSInputStream) in2.getWrappedStream();
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to