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:
parent
504fc52187
commit
a95ee63a70
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue