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:31:59 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 660427ce2 -> b89f3b3ec


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

Branch: refs/heads/branch-1.3
Commit: b89f3b3ec13453f9c2e046b13b9c4de88c696d9c
Parents: 660427c
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:31:53 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/b89f3b3e/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