HBASE-8809 test fix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1500232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2bbb39fc31
commit
b256284f51
|
@ -789,7 +789,8 @@ public class TestKeepDeletes extends HBaseTestCase {
|
|||
private int countDeleteMarkers(HRegion region) throws IOException {
|
||||
Scan s = new Scan();
|
||||
s.setRaw(true);
|
||||
s.setMaxVersions();
|
||||
// use max versions from the store(s)
|
||||
s.setMaxVersions(region.getStores().values().iterator().next().getScanInfo().getMaxVersions());
|
||||
InternalScanner scan = region.getScanner(s);
|
||||
List<KeyValue> kvs = new ArrayList<KeyValue>();
|
||||
int res = 0;
|
||||
|
|
Loading…
Reference in New Issue