HBASE-10666 TestMasterCoprocessorExceptionWithAbort hangs at shutdown

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1574773 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2014-03-06 05:42:51 +00:00
parent fc9407f3a3
commit 59f57d9158
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ import org.apache.hadoop.hbase.Abortable;
import org.apache.hadoop.hbase.CoprocessorEnvironment; import org.apache.hadoop.hbase.CoprocessorEnvironment;
import org.apache.hadoop.hbase.HBaseTestingUtility; import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.HRegionInfo; import org.apache.hadoop.hbase.HRegionInfo;
import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.MediumTests; import org.apache.hadoop.hbase.MediumTests;
@ -144,6 +145,7 @@ public class TestMasterCoprocessorExceptionWithAbort {
conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY,
BuggyMasterObserver.class.getName()); BuggyMasterObserver.class.getName());
conf.setBoolean(CoprocessorHost.ABORT_ON_ERROR_KEY, true); conf.setBoolean(CoprocessorHost.ABORT_ON_ERROR_KEY, true);
conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 2); // Fail fast
UTIL.startMiniCluster(); UTIL.startMiniCluster();
} }
@ -229,6 +231,5 @@ public class TestMasterCoprocessorExceptionWithAbort {
} }
} }
} }