Skip to content

Commit

Permalink
HBASE-22781 optimize the test case TestStoreScanner.testScanSameTimes…
Browse files Browse the repository at this point in the history
…tamp (#446)

Signed-off-by: Duo Zhang [email protected]
Signed-off-by: stack [email protected]
  • Loading branch information
bsglz authored and saintstack committed Aug 24, 2019
1 parent 504fc52 commit a95ee63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public void testScanSameTimestamp() throws IOException {

Scan scanSpec = new Scan().withStartRow(Bytes.toBytes("R1"));
// this only uses maxVersions (default=1) and TimeRange (default=all)
try (StoreScanner scan = new StoreScanner(scanSpec, scanInfo, getCols("a"), scanners)) {
try (StoreScanner scan = new StoreScanner(scanSpec, scanInfo, null, scanners)) {
List<Cell> results = new ArrayList<>();
assertEquals(true, scan.next(results));
assertEquals(1, results.size());
Expand Down

0 comments on commit a95ee63

Please sign in to comment.