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 "Steve Vaughan (Jira)" <ji...@apache.org> on 2022/09/01 16:48:00 UTC

[jira] [Reopened] (HDFS-16755) TestQJMWithFaults.testUnresolvableHostName() can fail due to unexpected host resolution

     [ https://issues.apache.org/jira/browse/HDFS-16755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Vaughan reopened HDFS-16755:
----------------------------------

Backporting to branch-3.3 to avoid a test failure

> TestQJMWithFaults.testUnresolvableHostName() 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
>             Fix For: 3.4.0, 3.3.9
>
>
> 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