[
https://issues.apache.org/jira/browse/HADOOP-18431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598531#comment-17598531
]
ASF GitHub Bot commented on HADOOP-18431:
-----------------------------------------
snmvaughan commented on PR #4833:
URL: https://github.com/apache/hadoop/pull/4833#issuecomment-1233229717
Could someone transform HADOOP-18431 to HDFS-*?
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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]