Skip to content

Commit

Permalink
fix ut compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhelly committed Feb 14, 2022
1 parent e30bce9 commit 27a9510
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27a9510

Please sign in to comment.