hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13645) Refine TestRackResolver#testCaching to ensure cache is truly tested
Date Tue, 27 Sep 2016 08:33:20 GMT

     [ 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.


> 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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message