HBASE-22781 optimize the test case TestStoreScanner.testScanSameTimestamp (#446)

Signed-off-by: Duo Zhang zhangduo@apache.org
Signed-off-by: stack stack@apache.org
This commit is contained in:
bsglz 2019-08-24 08:19:56 +08:00 committed by Michael Stack
parent 504fc52187
commit a95ee63a70
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ public class TestStoreScanner {
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());