HBASE-16349 TestClusterId may hang during cluster shutdown

Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2597217a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2597217a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2597217a

Branch: refs/heads/hbase-14439
Commit: 2597217ae5aa057e1931c772139ce8cc7a2b3efb
Parents: e19632a
Author: tedyu <yuzhih...@gmail.com>
Authored: Fri Sep 16 02:32:03 2016 -0700
Committer: tedyu <yuzhih...@gmail.com>
Committed: Fri Sep 16 02:32:03 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/TestClusterId.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2597217a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestClusterId.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestClusterId.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestClusterId.java
index 9c03201..33ca73d 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestClusterId.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestClusterId.java
@@ -56,6 +56,7 @@ public class TestClusterId {
 
   @Before
   public void setUp() throws Exception {
+    TEST_UTIL.getConfiguration().setBoolean(ShutdownHook.RUN_SHUTDOWN_HOOK, 
false);
   }
 
   @After

Reply via email to