diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java index 0cd0c2cfeddf..90888ac5c93f 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java @@ -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 results = new ArrayList<>(); assertEquals(true, scan.next(results)); assertEquals(1, results.size());