@Before
  public void setUp() throws IOException {
    Path rootDir = UTIL.getDataTestDir(name.getMethodName());
    // generate some hfiles so we can have StoreFileReader which has bloomfilters
    region = HBaseTestingUtil.createRegionAndWAL(RI, rootDir, UTIL.getConfiguration(), TD);
    generateHFiles();
    HStore store = region.getStore(FAMILY);
    for (HStoreFile storefile : store.getStorefiles()) {
      storefile.initReader();
      StoreFileReader reader = storefile.getReader();
      // make sure we load bloom filters correctly
      assertNotNull(reader.generalBloomFilter);
      assertNotNull(reader.deleteFamilyBloomFilter);
    }
  }
A UT to make sure that everything is fine when we fail to load bloom filter.
<p>
See HBASE-27936 for more details.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestBloomFilterFaulty.java