diff --git a/src/test/java/com/xiaomi/infra/pegasus/client/TestBatchGet3.java b/src/test/java/com/xiaomi/infra/pegasus/client/TestBatchGet3.java index 0d08e5ef..3ac61c35 100644 --- a/src/test/java/com/xiaomi/infra/pegasus/client/TestBatchGet3.java +++ b/src/test/java/com/xiaomi/infra/pegasus/client/TestBatchGet3.java @@ -52,7 +52,8 @@ public void testBatchGet3() throws PException { } List> getResult = new ArrayList<>(); - table.batchGet3(pairs, getResult, 0); + int resultCount = table.batchGet3(pairs, getResult, 0); + Assert.assertEquals(101, resultCount); for (int i = 0; i < 101; ++i) { Assert.assertNull(getResult.get(i).getLeft());