You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Reid Chan (Jira)" <ji...@apache.org> on 2021/04/06 04:35:00 UTC

[jira] [Commented] (HBASE-25731) TestConnectionImplementation BadHostname tests fail in branch-1

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

Reid Chan commented on HBASE-25731:
-----------------------------------

Thanks [~gjacoby]

> TestConnectionImplementation BadHostname tests fail in branch-1
> ---------------------------------------------------------------
>
>                 Key: HBASE-25731
>                 URL: https://issues.apache.org/jira/browse/HBASE-25731
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 1.7.0
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>
> TestConnectionImplementation.testGetAdminBadHostname and testGetClientBadHostname are consistently failing in branch-1. 
> This is because they're assuming that the validity of the host is checked immediately upon getting the protobuf service object, when instead the service code purposefully waits until the first service call to check. 
> I'll revise the tests to make service calls and verify that they return the correct exceptions (ServiceException wrapping an UnknownHostException).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)