HBASE-17606 Fix failing TestRpcControllerFactory introduced by HBASE-17508

This commit is contained in:
zhangduo 2017-02-07 11:16:07 +08:00
parent 9a78d00884
commit 5c77a7dcd4
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ public class TestRpcControllerFactory {
ResultScanner scan = table.getScanner(fam1); ResultScanner scan = table.getScanner(fam1);
scan.next(); scan.next();
scan.close(); scan.close();
counter = verifyCount(counter + 2); counter = verifyCount(counter + 1);
Get g2 = new Get(row); Get g2 = new Get(row);
table.get(Lists.newArrayList(g, g2)); table.get(Lists.newArrayList(g, g2));
@ -189,7 +189,7 @@ public class TestRpcControllerFactory {
// reversed, regular // reversed, regular
scanInfo.setSmall(false); scanInfo.setSmall(false);
counter = doScan(table, scanInfo, counter + 2); counter = doScan(table, scanInfo, counter + 1);
table.close(); table.close();
connection.close(); connection.close();