Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3140617D1E for ; Tue, 7 Oct 2014 20:15:08 +0000 (UTC) Received: (qmail 92844 invoked by uid 500); 7 Oct 2014 20:15:08 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 92802 invoked by uid 500); 7 Oct 2014 20:15:08 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 92793 invoked by uid 99); 7 Oct 2014 20:15:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 20:15:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C3E899051C2; Tue, 7 Oct 2014 20:15:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: HBASE-12191 Make TestCacheOnWrite faster. Date: Tue, 7 Oct 2014 20:15:07 +0000 (UTC) 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 Authored: Tue Oct 7 13:14:23 2014 -0700 Committer: stack 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();