Skip to content

Commit b2337c4

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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
@@ -63,6 +63,7 @@ public HRegion initHRegion(TableName tableName, byte[] startKey, byte[] stopKey,
6363
for(int i = 0; i < inMemory.length; i++) {
6464
inMemory[i] = true;
6565
}
66+
ChunkCreator.initialize(MemStoreLABImpl.CHUNK_SIZE_DEFAULT, false, 0, 0, 0, null);
6667
return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, stopKey,
6768
isReadOnly, durability, wal, inMemory, families);
6869
}

0 commit comments

Comments
 (0)