Steve Vaughan created HADOOP-18431:
--------------------------------------

             Summary: Unit test can fail due to unexpected host resolution
                 Key: HADOOP-18431
                 URL: https://issues.apache.org/jira/browse/HADOOP-18431
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 3.4.0, 3.3.9
         Environment: Running using both Maven Surefire and an IDE results in a 
test failure.  Switching the name to "bogus.invalid" results in the expected 
behavior, which depends on an UnknownHostException.
            Reporter: Steve Vaughan
            Assignee: Steve Vaughan


Tests that want to use an unresolvable address may actually resolve in some 
environments.  Replacing host names like "bogus" with a IETF RFC 2606 domain 
name avoids the issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to