[ 
https://issues.apache.org/jira/browse/HADOOP-13645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HADOOP-13645:
---------------------------------
    Attachment: HADOOP-13645.01.patch

The v1 patch rewrite the test to make sure this function is fully tested. 
Besides basic tests, simulated a delay on some of hosts resolution, verify the 
delay actually happened at 1st time, and cache actually worked at 2nd query. 
Please kindly review.

Thanks

> Refine TestRackResolver#testCaching to ensure cache is truly tested
> -------------------------------------------------------------------
>
>                 Key: HADOOP-13645
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13645
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: util
>    Affects Versions: 2.7.3
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Minor
>         Attachments: HADOOP-13645.01.patch
>
>
> TestRackResolver#testCaching seems not cover the cache testing well, the test 
> case won't fail even the cache wasn't used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to