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

stack 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 76a68bd  HBASE-22857 Fix the failed ut TestHRegion and 
TestHRegionWithInMemoryFlush (#495)
76a68bd is described below

commit 76a68bd27c178d2dc07d93846d827ed0ffb786a1
Author: Guanghao Zhang <zg...@apache.org>
AuthorDate: Thu Aug 15 15:18:38 2019 -0500

    HBASE-22857 Fix the failed ut TestHRegion and TestHRegionWithInMemoryFlush 
(#495)
    
    Signed-off-by: Peter Somogyi psomo...@apache.org
    Signed-off-by: stack st...@apache.org
---
 .../java/org/apache/hadoop/hbase/regionserver/TestHRegion.java   | 9 ---------
 1 file changed, 9 deletions(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
index cc96349..57f63f5 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
@@ -1242,15 +1242,6 @@ public class TestHRegion {
       HConstants.EMPTY_END_ROW, false, Durability.USE_DEFAULT, wal, family);
     region.put(put);
 
-    // 2. Test case where START_FLUSH succeeds but COMMIT_FLUSH will throw 
exception
-    wal.flushActions = new FlushAction [] {FlushAction.COMMIT_FLUSH};
-    wal = new FailAppendFlushMarkerWAL(FileSystem.get(walConf), 
FSUtils.getRootDir(walConf),
-          method, walConf);
-
-    this.region = initHRegion(tableName, HConstants.EMPTY_START_ROW,
-      HConstants.EMPTY_END_ROW, false, Durability.USE_DEFAULT, wal, family);
-    region.put(put);
-
     // 3. Test case where ABORT_FLUSH will throw exception.
     // Even if ABORT_FLUSH throws exception, we should not fail with IOE, but 
continue with
     // DroppedSnapshotException. Below COMMMIT_FLUSH will cause flush to abort

Reply via email to