@Override
        public boolean evaluate() throws Exception {
          int numRegionsAfterSplit = 0;
          List<RegionServerThread> rst = util.getMiniHBaseCluster().getLiveRegionServerThreads();
          for (RegionServerThread t : rst) {
            numRegionsAfterSplit += t.getRegionServer().getRegions(TEST_TABLE).size();
          }
          // Make sure that the split went through and all the regions are assigned
          return (numRegionsAfterSplit == numRegionsBeforeSplit + 1
            && admin.isTableAvailable(TEST_TABLE));
        }
This class tests the scenario where a store refresh happens due to a file not found during scan,
after a compaction but before the compacted files are archived. At this state we test for a split
and compaction
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompactionFileNotFound.java