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

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

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)