Class TestForceCacheImportantBlocks

java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks

Make sure we always cache important block types, such as index blocks, as long as we have a block cache, even though block caching might be disabled for the column family.

TODO: This test writes a lot of data and only tests the most basic of metrics. Cache stats need to reveal more about what is being cached whether DATA or INDEX blocks and then we could do more verification in this test.