From 59f57d9158fc7a2d70cc164b18d25f4d2b179853 Mon Sep 17 00:00:00 2001 From: Andrew Kyle Purtell Date: Thu, 6 Mar 2014 05:42:51 +0000 Subject: [PATCH] HBASE-10666 TestMasterCoprocessorExceptionWithAbort hangs at shutdown git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1574773 13f79535-47bb-0310-9956-ffa450edef68 --- .../coprocessor/TestMasterCoprocessorExceptionWithAbort.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java index 3318357227e..bd28ff029e7 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java @@ -31,6 +31,7 @@ import org.apache.hadoop.hbase.Abortable; import org.apache.hadoop.hbase.CoprocessorEnvironment; import org.apache.hadoop.hbase.HBaseTestingUtility; import org.apache.hadoop.hbase.HColumnDescriptor; +import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HRegionInfo; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.MediumTests; @@ -144,6 +145,7 @@ public class TestMasterCoprocessorExceptionWithAbort { conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, BuggyMasterObserver.class.getName()); conf.setBoolean(CoprocessorHost.ABORT_ON_ERROR_KEY, true); + conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 2); // Fail fast UTIL.startMiniCluster(); } @@ -229,6 +231,5 @@ public class TestMasterCoprocessorExceptionWithAbort { } } - }