Andrew Kyle Purtell created HBASE-23161:
-------------------------------------------
Summary: Invalid hostname tests can fail if the ISP hijacks
NXDOMAIN
Key: HBASE-23161
URL: https://issues.apache.org/jira/browse/HBASE-23161
Project: HBase
Issue Type: Bug
Reporter: Andrew Kyle Purtell
Some residential internet service providers use the opportunity of DNS record
not found cases and instead of returning NXDOMAIN responses per the standard
they return A records that redirect the user to their own portal or search
page. This breaks tests like
TestConnectionImplementation.testGetClientBadHostname and
TestRegionServerHostname.testInvalidRegionServerHostnameAbortsServer. We should
detect this behavior and skip these cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)