[
https://issues.apache.org/jira/browse/HDFS-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790667#comment-13790667
]
Andrey Klochkov commented on HDFS-4511:
---------------------------------------
Daryn, the test uses netty to create a stub for NN to make the test as
lightweight as possible, which is good for unit tests. I fixed asserts so in
cancel&renew handlers it checks that the request contains correct token
(supplied by the client, i.e. generated by the test), and in fetch handler
there should not be a token in the request. Will upload the patch shortly.
> Cover package org.apache.hadoop.hdfs.tools with unit test
> ---------------------------------------------------------
>
> Key: HDFS-4511
> URL: https://issues.apache.org/jira/browse/HDFS-4511
> Project: Hadoop HDFS
> Issue Type: Test
> Affects Versions: 3.0.0, 2.0.3-alpha, 0.23.6
> Reporter: Vadim Bondarev
> Assignee: Andrey Klochkov
> Attachments: HADOOP-4511-branch-0.23-a.patch,
> HADOOP-4511-branch-2-a.patch, HADOOP-4511-trunk-a.patch,
> HDFS-4511-branch-2--N2.patch, HDFS-4511-trunk--N4.patch,
> HDFS-4511-trunk--n5.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)