This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new e7c943f  HBASE-22979 Call ChunkCreator.initialize in 
TestHRegionWithInMemoryFlush (#589)
e7c943f is described below

commit e7c943f82f9d5a1c2e9570cb54dc3408a48eabaa
Author: Peter Somogyi <psomo...@apache.org>
AuthorDate: Mon Sep 9 11:50:54 2019 +0200

    HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush 
(#589)
    
    Signed-off-by: Zheng Hu <open...@gmail.com>
---
 .../apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
index 26b109a..3a64648 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
@@ -63,6 +63,7 @@ public class TestHRegionWithInMemoryFlush extends TestHRegion 
{
     for(int i = 0; i < inMemory.length; i++) {
       inMemory[i] = true;
     }
+    ChunkCreator.initialize(MemStoreLABImpl.CHUNK_SIZE_DEFAULT, false, 0, 0, 
0, null);
     return TEST_UTIL.createLocalHRegionWithInMemoryFlags(tableName, startKey, 
stopKey,
         isReadOnly, durability, wal, inMemory, families);
   }

Reply via email to