[
https://issues.apache.org/jira/browse/HBASE-25731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reid Chan resolved HBASE-25731.
-------------------------------
Fix Version/s: 1.7.0
Hadoop Flags: Reviewed
Resolution: Fixed
> 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
> Fix For: 1.7.0
>
>
> 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)