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:10:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 99790a52a -> 6c6910b0b


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

Branch: refs/heads/branch-2
Commit: 6c6910b0b417df772aa9b558be26a41c80482d2a
Parents: 99790a5
Author: Guanghao Zhang <zghao@apache.org>
Authored: Sat Dec 2 20:05:59 2017 +0800
Committer: Guanghao Zhang <zghao@apache.org>
Committed: Sat Dec 2 20:05:59 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/6c6910b0/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