Repository: hbase
Updated Branches:
  refs/heads/HBASE-18477 c40286864 -> aaf3675f2


Fix TestCheckTestClasses on HBASE-18477

Signed-off-by: Ted Yu <te...@apache.org>


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

Branch: refs/heads/HBASE-18477
Commit: aaf3675f20d586f859b5dbccd776d4ad260adb96
Parents: c402868
Author: Zach York <zy...@apache.org>
Authored: Mon Jul 9 22:36:30 2018 -0700
Committer: Ted Yu <te...@apache.org>
Committed: Wed Jul 11 14:47:04 2018 -0700

----------------------------------------------------------------------
 .../util/TestReadReplicaClustersTableNameUtil.java  | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/aaf3675f/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestReadReplicaClustersTableNameUtil.java
----------------------------------------------------------------------
diff --git 
a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestReadReplicaClustersTableNameUtil.java
 
b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestReadReplicaClustersTableNameUtil.java
index bde0202..aee03fc 100644
--- 
a/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestReadReplicaClustersTableNameUtil.java
+++ 
b/hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestReadReplicaClustersTableNameUtil.java
@@ -17,14 +17,24 @@
  */
 package org.apache.hadoop.hbase.util;
 
-import org.apache.hadoop.hbase.TableName;
-import org.junit.Test;
-
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
+import org.apache.hadoop.hbase.HBaseClassTestRule;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.testclassification.MiscTests;
+import org.apache.hadoop.hbase.testclassification.SmallTests;
+import org.junit.ClassRule;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+
+@Category({MiscTests.class, SmallTests.class})
 public class TestReadReplicaClustersTableNameUtil {
 
+  @ClassRule
+  public static final HBaseClassTestRule CLASS_RULE =
+      HBaseClassTestRule.forClass(TestReadReplicaClustersTableNameUtil.class);
+
   @Test
   public void testIsMetaTableNameWithoutSuffix() {
     String metaWithSuffix = "hbase:meta_server1";

Reply via email to