From 27a9510bce7ff2ce074762df183bb08eb5a47aa0 Mon Sep 17 00:00:00 2001 From: haxiaolin Date: Wed, 16 Jun 2021 18:45:37 +0800 Subject: [PATCH] fix ut compile error --- .../hadoop/hbase/regionserver/TestHStore.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java index fe9c65d3f0aa..5543c03b6505 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHStore.java @@ -1347,21 +1347,6 @@ public void testPreventLoopRead() throws Exception { } } assertEquals(2, resultCells); - - // set prevent loop skip off - scannerContext = contextBuilder.setPreventLoopReadEnabled(false).build(); - // should scan all cells not expired at one time - myList.clear(); - try (InternalScanner scanner = (InternalScanner) store.getScanner(scan, null, - seqId + 3)) { - scanner.next(myList, scannerContext); - assertEquals(2, myList.size()); - for (Cell c : myList) { - byte[] actualValue = CellUtil.cloneValue(c); - assertTrue("expected:" + Bytes.toStringBinary(value1) + ", actual:" + Bytes - .toStringBinary(actualValue), Bytes.equals(actualValue, value1)); - } - } } @Test