From cac18b74141eddf087d11fd86beed5a45ee130ea Mon Sep 17 00:00:00 2001 From: olivertang Date: Sat, 12 Feb 2022 20:59:42 +0800 Subject: [PATCH] add a little --- .../java/com/xiaomi/infra/pegasus/client/TestBatchGet3.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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());