HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)

Signed-off-by: Zheng Hu <openinx@gmail.com>
This commit is contained in:
Peter Somogyi 2019-09-09 11:50:54 +02:00 committed by GitHub
parent fb7230c3f1
commit ac8fe1627a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }