You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2011/05/11 11:03:47 UTC

[jira] [Commented] (HBASE-3875) Its not good that our test depends on the network and a working DNS

    [ https://issues.apache.org/jira/browse/HBASE-3875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031604#comment-13031604 ] 

Andrew Purtell commented on HBASE-3875:
---------------------------------------

Well these tests actually check the parts of HBase that require a network. So I'm not sure the tests really need improving if they demonstrate the problem (if the network is broken).

However I think a patch that adds mocking of DNS and clock to EnvironmentEdge and/or modifies these unit tests to use that would be accepted.

> Its not good that our test depends on the network and a working DNS
> -------------------------------------------------------------------
>
>                 Key: HBASE-3875
>                 URL: https://issues.apache.org/jira/browse/HBASE-3875
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.2
>            Reporter: gaojinchao
>            Priority: Minor
>             Fix For: 0.92.0
>
>
> Thess case depends on the network, It needs improve.
> TestClockSkewDetection
> testBadOriginalRootLocation
> testScanner
> TestCatalogTracker

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira