Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A4A78200CF8 for ; Thu, 14 Sep 2017 21:31:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A44311609CD; Thu, 14 Sep 2017 19:31:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E9A731609C6 for ; Thu, 14 Sep 2017 21:31:14 +0200 (CEST) Received: (qmail 32963 invoked by uid 500); 14 Sep 2017 19:31:14 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 32952 invoked by uid 99); 14 Sep 2017 19:31:13 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2017 19:31:13 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D5306F567D; Thu, 14 Sep 2017 19:31:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: <2193b63f77ba42c9b52016429d39738c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-18818 TestConnectionImplemenation fails Date: Thu, 14 Sep 2017 19:31:13 +0000 (UTC) archived-at: Thu, 14 Sep 2017 19:31:15 -0000 Repository: hbase Updated Branches: refs/heads/branch-1 d2e6f55cc -> 91422357f HBASE-18818 TestConnectionImplemenation fails Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/91422357 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/91422357 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/91422357 Branch: refs/heads/branch-1 Commit: 91422357f23c848dbd9ee76c8fe47a74b353799a Parents: d2e6f55 Author: Michael Stack Authored: Thu Sep 14 12:27:37 2017 -0700 Committer: Michael Stack Committed: Thu Sep 14 12:31:01 2017 -0700 ---------------------------------------------------------------------- .../apache/hadoop/hbase/client/TestConnectionImplementation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/91422357/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionImplementation.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionImplementation.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionImplementation.java index 49a2203..30f44ce 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionImplementation.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestConnectionImplementation.java @@ -67,7 +67,7 @@ public class TestConnectionImplementation { // test that we fail to get a client to an unresolvable hostname, which // means it won't be cached ServerName badHost = - ServerName.valueOf("unknownhost.example.com:" + HConstants.DEFAULT_MASTER_PORT, + ServerName.valueOf("unknownhost.invalid:" + HConstants.DEFAULT_MASTER_PORT, System.currentTimeMillis()); conn.getAdmin(badHost); fail("Obtaining admin to unresolvable hostname should have failed"); @@ -86,7 +86,7 @@ public class TestConnectionImplementation { // test that we fail to get a client to an unresolvable hostname, which // means it won't be cached ServerName badHost = - ServerName.valueOf("unknownhost.example.com:" + HConstants.DEFAULT_REGIONSERVER_PORT, + ServerName.valueOf("unknownhost.invalid:" + HConstants.DEFAULT_REGIONSERVER_PORT, System.currentTimeMillis()); conn.getAdmin(badHost); fail("Obtaining client to unresolvable hostname should have failed");