From 208787b5b1ebe235d30b77b60d05ffc5e69c9b97 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 9 Oct 2013 15:25:21 +0000 Subject: [PATCH] HBASE-9563 Autorestart doesn't work if zkcleaner fails git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1530675 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hadoop/hbase/master/TestHMasterCommandLine.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestHMasterCommandLine.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestHMasterCommandLine.java index 95dc1c6edd2..cad70451fc5 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestHMasterCommandLine.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestHMasterCommandLine.java @@ -20,8 +20,12 @@ package org.apache.hadoop.hbase.master; import static org.junit.Assert.*; import org.apache.hadoop.hbase.HBaseTestingUtility; +import org.apache.hadoop.hbase.SmallTests; import org.junit.Test; +import org.junit.experimental.categories.Category; + +@Category(SmallTests.class) public class TestHMasterCommandLine { private static final HBaseTestingUtility TESTING_UTIL = new HBaseTestingUtility(); @Test @@ -30,4 +34,4 @@ public class TestHMasterCommandLine { masterCommandLine.setConf(TESTING_UTIL.getConfiguration()); assertEquals(0, masterCommandLine.run(new String [] {"clear"})); } -} \ No newline at end of file +}