HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)
Signed-off-by: Zheng Hu <openinx@gmail.com>
This commit is contained in:
parent
fb7230c3f1
commit
ac8fe1627a
|
@ -56,6 +56,7 @@ public class TestHRegionWithInMemoryFlush extends TestHRegion {
|
||||||
for(int i = 0; i < inMemory.length; i++) {
|
for(int i = 0; i < inMemory.length; i++) {
|
||||||
inMemory[i] = true;
|
inMemory[i] = true;
|
||||||
}
|
}
|
||||||
|
ChunkCreator.initialize(MemStoreLABImpl.CHUNK_SIZE_DEFAULT, false, 0, 0, 0, null);
|
||||||
return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey,
|
return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey,
|
||||||
isReadOnly, durability, wal, inMemory, families);
|
isReadOnly, durability, wal, inMemory, families);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue