Description
Waiting indefinitely expecting flushed files to reach a certain count after triggering a flush but compaction has happened between the flush and check for number of store files.
admin.flush(tableName); regions = TEST_UTIL.getHBaseCluster().getRegions(tableName); for (HRegion region : regions) { Store store = region.getStore(fam); - Flush and compaction has happened before here ---> while (!(store.getStorefilesCount() > 2)) { - Hung forever in here ---> Thread.sleep(10); } }