@BeforeClass
  public static void setUpBeforeClass() throws Exception {
    // Set small flush size for minicluster so we exercise reseeking scanners
    Configuration conf = UTIL.getConfiguration();
    conf.set(HConstants.HREGION_MEMSTORE_FLUSH_SIZE, String.valueOf(128 * 1024));
    // prevent aggressive region split
    conf.set(HConstants.HBASE_REGION_SPLIT_POLICY_KEY,
      ConstantSizeRegionSplitPolicy.class.getName());
    conf.setInt("hfile.format.version", 3); // for mob tests
    UTIL.startMiniCluster(1);
  }
Test case that uses multiple threads to read and write multifamily rows into a table, verifying
that reads never see partially-complete writes. This can run as a junit test, or with a main()
function which runs against a real cluster (eg for testing with failures, region movement, etc)
hbase-server/src/test/java/org/apache/hadoop/hbase/AcidGuaranteesTestBase.java