hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-18818 TestConnectionImplemenation fails
Date Thu, 14 Sep 2017 19:33:55 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 c1bc34e73 -> 2598d0087


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/2598d008
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2598d008
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2598d008

Branch: refs/heads/branch-1.1
Commit: 2598d0087311a58e35c4e99582c423807b6368b8
Parents: c1bc34e
Author: Michael Stack <stack@apache.org>
Authored: Thu Sep 14 12:27:37 2017 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Thu Sep 14 12:33:49 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/2598d008/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");


Mime
View raw message