hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liushao...@apache.org
Subject hbase git commit: HBASE-15420: TestCacheConfig failed after HBASE-15338
Date Wed, 09 Mar 2016 02:19:42 GMT
Repository: hbase
Updated Branches:
  refs/heads/master b29ce7f11 -> 7e4e8dc3e


HBASE-15420: TestCacheConfig failed after HBASE-15338


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

Branch: refs/heads/master
Commit: 7e4e8dc3e9e0edb287fe27e488736c906b1d0ff5
Parents: b29ce7f
Author: Liu Shaohui <liushaohui@xiaomi.com>
Authored: Tue Mar 8 16:48:11 2016 +0800
Committer: Liu Shaohui <liushaohui@xiaomi.com>
Committed: Wed Mar 9 10:15:35 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/7e4e8dc3/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
index 2d06e293..d8a2589 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java
@@ -255,7 +255,7 @@ public class TestCacheConfig {
     assertFalse(cacheConfig.shouldCacheDataOnWrite());
     assertFalse(cacheConfig.shouldCacheDataOnRead());
     assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
-    assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
+    assertFalse(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
     assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
     assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
     assertTrue(cacheConfig.shouldCacheIndexesOnWrite());
@@ -273,7 +273,7 @@ public class TestCacheConfig {
     assertFalse(cacheConfig.shouldCacheDataOnWrite());
     assertFalse(cacheConfig.shouldCacheDataOnRead());
     assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
-    assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
+    assertFalse(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
     assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
     assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
     assertTrue(cacheConfig.shouldCacheIndexesOnWrite());


Mime
View raw message