[
https://issues.apache.org/jira/browse/HDFS-15755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256320#comment-17256320
]
Yang Yun commented on HDFS-15755:
---------------------------------
Thanks [~ayushtkn] for the review.
I'm writing a test case for checking of mounted volume failure and use
Powermock to mock DiskChecker. I'll update this Jira with code changes later.
For the version, I just copy from yarn project, I'll try the default version or
change in hadoop-project/pom.xml.
> Import powermock to test of hadoop-hdfs-project
> -----------------------------------------------
>
> Key: HDFS-15755
> URL: https://issues.apache.org/jira/browse/HDFS-15755
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs, test
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Attachments: HDFS-15755.001.patch
>
>
> For mocking static methods in unit test, import PowerMock to
> hadoop-hdfs-project.
> The same version PowerMock has been imported in part of hadoop-yarn-project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]