hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zg...@apache.org
Subject hbase git commit: HBASE-19396 Fix flaky test TestHTableMultiplexerFlushCache
Date Sat, 02 Dec 2017 12:17:50 GMT
Repository: hbase
Updated Branches:
  refs/heads/master c0da74f7c -> d6a4a3dc3


HBASE-19396 Fix flaky test TestHTableMultiplexerFlushCache


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

Branch: refs/heads/master
Commit: d6a4a3dc331129e949faaaaa134107cb71172928
Parents: c0da74f
Author: Guanghao Zhang <zghao@apache.org>
Authored: Sat Dec 2 20:12:38 2017 +0800
Committer: Guanghao Zhang <zghao@apache.org>
Committed: Sat Dec 2 20:12:38 2017 +0800

----------------------------------------------------------------------
 .../hadoop/hbase/client/TestHTableMultiplexerFlushCache.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d6a4a3dc/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTableMultiplexerFlushCache.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTableMultiplexerFlushCache.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTableMultiplexerFlushCache.java
index 21ba575..99571cc 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTableMultiplexerFlushCache.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestHTableMultiplexerFlushCache.java
@@ -156,7 +156,7 @@ public class TestHTableMultiplexerFlushCache {
     ServerName newServer = null;
     // Find a new server to move that region to
     for (int i = 0; i < SLAVES; i++) {
-      HRegionServer rs = hbaseCluster.getRegionServer(0);
+      HRegionServer rs = hbaseCluster.getRegionServer(i);
       if (!rs.getServerName().equals(originalServer.getServerName())) {
         newServer = rs.getServerName();
         break;


Mime
View raw message