hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-12191 Make TestCacheOnWrite faster.
Date Tue, 07 Oct 2014 20:15:07 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 ac6baf917 -> 2df844447


HBASE-12191 Make TestCacheOnWrite faster.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2df84444
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2df84444
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2df84444

Branch: refs/heads/branch-1
Commit: 2df844447766228c458a29222c506afe32659a28
Parents: ac6baf9
Author: stack <stack@apache.org>
Authored: Tue Oct 7 13:14:23 2014 -0700
Committer: stack <stack@apache.org>
Committed: Tue Oct 7 13:14:58 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2df84444/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
index d8c8669..0849509 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheOnWrite.java
@@ -43,6 +43,7 @@ import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.MediumTests;
 import org.apache.hadoop.hbase.Tag;
+import org.apache.hadoop.hbase.client.Durability;
 import org.apache.hadoop.hbase.client.Put;
 import org.apache.hadoop.hbase.fs.HFileSystem;
 import org.apache.hadoop.hbase.io.compress.Compression;
@@ -428,6 +429,7 @@ public class TestCacheOnWrite {
             }
           }
         }
+        p.setDurability(Durability.ASYNC_WAL);
         region.put(p);
       }
       region.flushcache();


Mime
View raw message