Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA46518A85 for ; Sat, 20 Feb 2016 00:00:24 +0000 (UTC) Received: (qmail 43847 invoked by uid 500); 20 Feb 2016 00:00:24 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 43805 invoked by uid 500); 20 Feb 2016 00:00:24 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 43740 invoked by uid 99); 20 Feb 2016 00:00:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2016 00:00:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 10307C0CC3 for ; Sat, 20 Feb 2016 00:00:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vm974Nmiq2Pb for ; Sat, 20 Feb 2016 00:00:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 7F3405FB15 for ; Sat, 20 Feb 2016 00:00:21 +0000 (UTC) Received: (qmail 43344 invoked by uid 99); 20 Feb 2016 00:00:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2016 00:00:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 735082C1F60 for ; Sat, 20 Feb 2016 00:00:20 +0000 (UTC) Date: Sat, 20 Feb 2016 00:00:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-944) ServerLauncherJUnitTest fails when ISP redirects DNS failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155178#comment-15155178 ] ASF subversion and git services commented on GEODE-944: ------------------------------------------------------- Commit e51d1e447776ff2190e216d16530ecd6541f9255 in incubator-geode's branch refs/heads/feature/GEODE-917 from [~jchen21] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=e51d1e4 ] GEODE-944 ServerLauncherJUnitTest fails when ISP redirects DNS failures The LocatorLauncher and ServerLauncher will check if a bind address is the address of the machine on which it is launching. > 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 > > 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)