Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25731

TestConnectionImplementation BadHostname tests fail in branch-1

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • None
    • None
    • Reviewed

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              gjacoby Geoffrey Jacoby
              gjacoby Geoffrey Jacoby
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: