HBASE-15420: TestCacheConfig failed after HBASE-15338
This commit is contained in:
parent
b29ce7f114
commit
7e4e8dc3e9
|
@ -255,7 +255,7 @@ public class TestCacheConfig {
|
||||||
assertFalse(cacheConfig.shouldCacheDataOnWrite());
|
assertFalse(cacheConfig.shouldCacheDataOnWrite());
|
||||||
assertFalse(cacheConfig.shouldCacheDataOnRead());
|
assertFalse(cacheConfig.shouldCacheDataOnRead());
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
|
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
|
assertFalse(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
|
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
|
||||||
assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
|
assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
|
||||||
assertTrue(cacheConfig.shouldCacheIndexesOnWrite());
|
assertTrue(cacheConfig.shouldCacheIndexesOnWrite());
|
||||||
|
@ -273,7 +273,7 @@ public class TestCacheConfig {
|
||||||
assertFalse(cacheConfig.shouldCacheDataOnWrite());
|
assertFalse(cacheConfig.shouldCacheDataOnWrite());
|
||||||
assertFalse(cacheConfig.shouldCacheDataOnRead());
|
assertFalse(cacheConfig.shouldCacheDataOnRead());
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
|
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.INDEX));
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
|
assertFalse(cacheConfig.shouldCacheBlockOnRead(BlockCategory.META));
|
||||||
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
|
assertTrue(cacheConfig.shouldCacheBlockOnRead(BlockCategory.BLOOM));
|
||||||
assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
|
assertTrue(cacheConfig.shouldCacheBloomsOnWrite());
|
||||||
assertTrue(cacheConfig.shouldCacheIndexesOnWrite());
|
assertTrue(cacheConfig.shouldCacheIndexesOnWrite());
|
||||||
|
|
Loading…
Reference in New Issue