HBASE-2740 NPE in ReadWriteConsistencyControl (build fix)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@955800 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0beea3751b
commit
98a6a203c0
|
@ -378,9 +378,7 @@ public class TestStoreScanner extends TestCase {
|
||||||
};
|
};
|
||||||
|
|
||||||
public void testSkipColumn() throws IOException {
|
public void testSkipColumn() throws IOException {
|
||||||
KeyValueScanner [] scanners = new KeyValueScanner[] {
|
List<KeyValueScanner> scanners = scanFixture(kvs);
|
||||||
new KeyValueScanFixture(KeyValue.COMPARATOR, kvs)
|
|
||||||
};
|
|
||||||
StoreScanner scan =
|
StoreScanner scan =
|
||||||
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
|
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
|
||||||
getCols("a", "d"), scanners);
|
getCols("a", "d"), scanners);
|
||||||
|
@ -441,9 +439,7 @@ public class TestStoreScanner extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testScannerReseekDoesntNPE() throws Exception {
|
public void testScannerReseekDoesntNPE() throws Exception {
|
||||||
KeyValueScanner [] scanners = new KeyValueScanner[] {
|
List<KeyValueScanner> scanners = scanFixture(kvs);
|
||||||
new KeyValueScanFixture(KeyValue.COMPARATOR, kvs)
|
|
||||||
};
|
|
||||||
StoreScanner scan =
|
StoreScanner scan =
|
||||||
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
|
new StoreScanner(new Scan(), CF, Long.MAX_VALUE, KeyValue.COMPARATOR,
|
||||||
getCols("a", "d"), scanners);
|
getCols("a", "d"), scanners);
|
||||||
|
|
Loading…
Reference in New Issue