[ 
https://issues.apache.org/jira/browse/HADOOP-18093?focusedWorklogId=715235&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-715235
 ]

ASF GitHub Bot logged work on HADOOP-18093:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Jan/22 19:31
            Start Date: 25/Jan/22 19:31
    Worklog Time Spent: 10m 
      Work Description: xinglin opened a new pull request #3931:
URL: https://github.com/apache/hadoop/pull/3931


   
   
   Signed-off-by: Ayush Saxena <[email protected]>
   (cherry picked from commit 0d17b629ffee2f645f405ad46b0afa65224f87d5)
   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   
   
   ### How was this patch tested?
   
   mvn test -Dtest=TestViewFsLocalFs
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 715235)
    Time Spent: 2h  (was: 1h 50m)

> Better exception handling for testFileStatusOnMountLink() in 
> ViewFsBaseTest.java
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-18093
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18093
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Xing Lin
>            Assignee: Xing Lin
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The following exception handling code section in testFileStatusOnMountLink() 
>  
> {code:java}
>     try {
>       fcView.getFileStatus(new Path("/danglingLink"));
>       Assert.fail("Excepted a not found exception here");
>     } catch ( FileNotFoundException e) {
>       // as excepted
>     }{code}
> can be replaced with a single in the @Test 
> {code:java}
> @Test(expected = FileNotFoundException.class){code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to