Skip to content

Commit ac8fe16

Browse files
authored
HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush (#589)
Signed-off-by: Zheng Hu <[email protected]>
1 parent fb7230c commit ac8fe16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public HRegion initHRegion(TableName tableName, byte[] startKey, byte[] stopKey,
5656
for(int i = 0; i < inMemory.length; i++) {
5757
inMemory[i] = true;
5858
}
59+
ChunkCreator.initialize(MemStoreLABImpl.CHUNK_SIZE_DEFAULT, false, 0, 0, 0, null);
5960
return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey,
6061
isReadOnly, durability, wal, inMemory, families);
6162
}

0 commit comments

Comments
 (0)