From 92d7a454760b5e6225bc6086d0cf7f1e336927de Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 7 Mar 2013 07:33:58 +0000 Subject: [PATCH] HBASE-8021 TestSplitTransactionOnCluster.testShouldThrowIOExceptionIfStoreFileSizeIsEmptyAndShouldSuccessfullyExecuteRollback() fails consistently git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453717 13f79535-47bb-0310-9956-ffa450edef68 --- .../hbase/regionserver/TestSplitTransactionOnCluster.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java index a0c4eb5bd3b..694d53d718c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java @@ -710,10 +710,10 @@ public class TestSplitTransactionOnCluster { // Turn off the meta scanner so it don't remove parent on us. cluster.getMaster().setCatalogJanitorEnabled(false); try { - HRegionServer server = cluster.getRegionServer(tableRegionIndex); - printOutRegions(server, "Initial regions: "); + printOutRegions(regionServer, "Initial regions: "); - // find a splittable region + // find a splittable region. Refresh the regions list + regions = cluster.getRegions(tableName); final HRegion region = findSplittableRegion(regions); assertTrue("not able to find a splittable region", region != null);