[
https://issues.apache.org/jira/browse/HADOOP-19150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839502#comment-17839502
]
Anuj Modi commented on HADOOP-19150:
------------------------------------
Thanks for reporting this [~mthakur]
Raised PR for the fix: [HADOOP-19150: [ABFS] Fixing Test Code for
ITestAbfsRestOperationException#testAuthFailException by anujmodi2021 · Pull
Request #6756 · apache/hadoop
(github.com)|https://github.com/apache/hadoop/pull/6756]
> Test ITestAbfsRestOperationException#testAuthFailException is broken.
> ----------------------------------------------------------------------
>
> Key: HADOOP-19150
> URL: https://issues.apache.org/jira/browse/HADOOP-19150
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Mukund Thakur
> Assignee: Anuj Modi
> Priority: Major
> Labels: pull-request-available
>
> {code:java}
> intercept(Exception.class,
> () -> {
> fs.getFileStatus(new Path("/"));
> }); {code}
> Intercept shouldn't be used as there are assertions in catch statements.
>
> CC [[email protected]] [~anujmodi2021] [~asrani_anmol]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]