geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Markito Oliveira (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-944) ServerLauncherJUnitTest fails when ISP redirects DNS failures
Date Wed, 11 May 2016 02:02:15 GMT

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

William Markito Oliveira updated GEODE-944:
-------------------------------------------
    Sprint:   (was: 1.0.0-incubating.M2)

> ServerLauncherJUnitTest fails when ISP redirects DNS failures
> -------------------------------------------------------------
>
>                 Key: GEODE-944
>                 URL: https://issues.apache.org/jira/browse/GEODE-944
>             Project: Geode
>          Issue Type: Bug
>          Components: management
>            Reporter: Dan Smith
>            Assignee: Jianxia Chen
>             Fix For: 1.0.0-incubating.M2
>
>
> This test fails when using a DNS server that redirects DNS lookup failures to an ISP's
search page. 
> {noformat}
> om.gemstone.gemfire.distributed.LocatorLauncherJUnitTest >
> testSetBindAddressToUnknownHost FAILED
>     java.lang.AssertionError: Expected exception:
> java.lang.IllegalArgumentException
> com.gemstone.gemfire.distributed.ServerLauncherJUnitTest >
> testSetServerBindAddressToUnknownHost FAILED
>     java.lang.AssertionError: Expected exception:
> java.lang.IllegalArgumentException
> {noformat}
> The test is expecting to see an UnknownHostException, but because the ISP returns a real
IP address rather than the expected DNS lookup failure, the test doesn't see the exception.
> We could probably just Use junit's Assume to cause these tests to get skipped in this
environment.
> See this email thread for more details:
> http://mail-archives.apache.org/mod_mbox/incubator-general/201602.mbox/%3CCAOqetn_FTeV9ee4R8mkg4Y%3D8a%3DjedgfdOSjDxcnj2N7W02maCw%40mail.gmail.com%3E
> A little more information on DNS hijacking:
> http://www.dnsknowledge.com/whatis/nxdomain-non-existent-domain-2/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message