HBASE-8021 TestSplitTransactionOnCluster.testShouldThrowIOExceptionIfStoreFileSizeIsEmptyAndShouldSuccessfullyExecuteRollback() fails consistently
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453717 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21ea0b5ecf
commit
92d7a45476
|
@ -710,10 +710,10 @@ public class TestSplitTransactionOnCluster {
|
||||||
// Turn off the meta scanner so it don't remove parent on us.
|
// Turn off the meta scanner so it don't remove parent on us.
|
||||||
cluster.getMaster().setCatalogJanitorEnabled(false);
|
cluster.getMaster().setCatalogJanitorEnabled(false);
|
||||||
try {
|
try {
|
||||||
HRegionServer server = cluster.getRegionServer(tableRegionIndex);
|
printOutRegions(regionServer, "Initial regions: ");
|
||||||
printOutRegions(server, "Initial regions: ");
|
|
||||||
|
|
||||||
// find a splittable region
|
// find a splittable region. Refresh the regions list
|
||||||
|
regions = cluster.getRegions(tableName);
|
||||||
final HRegion region = findSplittableRegion(regions);
|
final HRegion region = findSplittableRegion(regions);
|
||||||
assertTrue("not able to find a splittable region", region != null);
|
assertTrue("not able to find a splittable region", region != null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue