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:
parent
fc9407f3a3
commit
59f57d9158
|
@ -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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue