Skip to content

Commit a95ee63

Browse files
bsglzsaintstack
authored andcommitted
HBASE-22781 optimize the test case TestStoreScanner.testScanSameTimestamp (#446)
Signed-off-by: Duo Zhang [email protected] Signed-off-by: stack [email protected]
1 parent 504fc52 commit a95ee63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public void testScanSameTimestamp() throws IOException {
525525

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

0 commit comments

Comments
 (0)