hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject hbase git commit: HBASE-14277 TestRegionServerHostname.testRegionServerHostname may fail at host with a case sensitive name
Date Fri, 17 Jun 2016 17:50:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 c5f71f96e -> f632b5329


HBASE-14277 TestRegionServerHostname.testRegionServerHostname may fail at host with a case
sensitive name


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f632b532
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f632b532
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f632b532

Branch: refs/heads/branch-1.3
Commit: f632b5329f39a3df9e18ac3fd3819904dee6c56e
Parents: c5f71f9
Author: Liu Shaohui <liushaohui@xiaomi.com>
Authored: Mon Aug 24 09:59:32 2015 +0800
Committer: Mikhail Antonov <antonov@apache.org>
Committed: Fri Jun 17 10:50:09 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/regionserver/TestRegionServerHostname.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f632b532/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
index 29af324..ab1f253 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
@@ -92,7 +92,7 @@ public class TestRegionServerHostname {
           }
           assertTrue(servers.size() == NUM_RS);
           for (String server : servers) {
-            assertTrue(server.startsWith(hostName+","));
+            assertTrue(server.startsWith(hostName.toLowerCase()+","));
           }
           zkw.close();
         } finally {


Mime
View raw message