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:30:32 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 d7824f739 -> 5cb11bc3f


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

Branch: refs/heads/branch-2
Commit: 5cb11bc3f73338318938870e60fc21b4f8048675
Parents: d7824f7
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:30:21 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/5cb11bc3/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 af7b652..1b3366b 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