You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2022/08/31 19:54:00 UTC
[jira] [Moved] (HDFS-16755) Unit test can fail due to unexpected host resolution
[ https://issues.apache.org/jira/browse/HDFS-16755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack moved HADOOP-18431 to HDFS-16755:
-----------------------------------------------
Component/s: test
(was: test)
Key: HDFS-16755 (was: HADOOP-18431)
Target Version/s: (was: 3.4.0, 3.3.9)
Affects Version/s: 3.4.0
3.3.9
(was: 3.4.0)
(was: 3.3.9)
Project: Hadoop HDFS (was: Hadoop Common)
> Unit test can fail due to unexpected host resolution
> ----------------------------------------------------
>
> Key: HDFS-16755
> URL: https://issues.apache.org/jira/browse/HDFS-16755
> Project: Hadoop HDFS
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org