hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject [hbase] branch master updated: HBASE-21980 Fix typo in AbstractTestAsyncTableRegionReplicasRead
Date Sun, 03 Mar 2019 00:37:52 GMT
This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 7142cea  HBASE-21980 Fix typo in AbstractTestAsyncTableRegionReplicasRead
7142cea is described below

commit 7142cea121b49677c748ae565dba89d2cc8971ab
Author: zhangduo <zhangduo@apache.org>
AuthorDate: Sat Mar 2 22:09:53 2019 +0800

    HBASE-21980 Fix typo in AbstractTestAsyncTableRegionReplicasRead
---
 .../hadoop/hbase/client/AbstractTestAsyncTableRegionReplicasRead.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/AbstractTestAsyncTableRegionReplicasRead.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/AbstractTestAsyncTableRegionReplicasRead.java
index c70af51..1a5dc2b 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/AbstractTestAsyncTableRegionReplicasRead.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/AbstractTestAsyncTableRegionReplicasRead.java
@@ -107,7 +107,7 @@ public abstract class AbstractTestAsyncTableRegionReplicasRead {
       }
       REPLICA_ID_TO_COUNT.computeIfAbsent(region.getReplicaId(), k -> new AtomicInteger())
         .incrementAndGet();
-      if (region.getRegionId() == RegionReplicaUtil.DEFAULT_REPLICA_ID && FAIL_PRIMARY_GET)
{
+      if (region.getReplicaId() == RegionReplicaUtil.DEFAULT_REPLICA_ID && FAIL_PRIMARY_GET)
{
         throw new IOException("Inject error");
       }
     }


Mime
View raw message