You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Lisheng Sun (Jira)" <ji...@apache.org> on 2019/11/28 02:23:00 UTC
[jira] [Updated] (HDFS-15019) Refactor the unit test of
TestDeadNodeDetection
[ https://issues.apache.org/jira/browse/HDFS-15019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lisheng Sun updated HDFS-15019:
-------------------------------
Attachment: HDFS-15019.001.patch
Status: Patch Available (was: In Progress)
> 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
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org