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:13 GMT
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 <stack@apache.org>
Authored: Thu Sep 14 12:27:37 2017 -0700
Committer: Michael Stack <stack@apache.org>
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");


Mime
View raw message