HBASE-21980 Fix typo in AbstractTestAsyncTableRegionReplicasRead
This commit is contained in:
parent
6d03807e4c
commit
ada2680bc6
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue