Geoffrey Jacoby created HBASE-25731:
---------------------------------------
Summary: 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
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)