private void testStreamScan() throws IOException {
    try (RegionAsTable table = new RegionAsTable(region);
      ResultScanner scanner = table.getScanner(new Scan().setReadType(ReadType.STREAM))) {
      for (int i = 5; i < 10; i++) {
        Result result = scanner.next();
        assertEquals(i, Bytes.toInt(result.getRow()));
        assertEquals(30 + i, Bytes.toInt(result.getValue(FAMILY, QUAL)));
      }
      assertNull(scanner.next());
    }
  }
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