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 "Shilun Fan (Jira)" <ji...@apache.org> on 2024/01/27 01:16:00 UTC

[jira] [Updated] (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 ]

Shilun Fan updated HDFS-16755:
------------------------------
        Hadoop Flags: Reviewed
    Target Version/s: 3.3.5, 3.4.0  (was: 3.4.0, 3.3.5)

> 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.5
>         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.5
>
>
> 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