You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by el...@apache.org on 2018/05/30 14:38:32 UTC

[2/3] hbase git commit: HBASE-20640 Add missing test category and class rule

HBASE-20640 Add missing test category and class rule

Signed-off-by: tedyu <yu...@gmail.com>


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

Branch: refs/heads/master
Commit: c17be2e6223eee15ec926eae160bfa2adebab260
Parents: b77fb77
Author: Josh Elser <el...@apache.org>
Authored: Thu May 24 13:21:21 2018 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Wed May 30 10:34:19 2018 -0400

----------------------------------------------------------------------
 .../hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/c17be2e6/hbase-client/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java b/hbase-client/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java
index ae326c1..5b716f1 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaGlobalsSettingsBypass.java
@@ -22,12 +22,21 @@ import static org.junit.Assert.fail;
 
 import java.io.IOException;
 
+import org.apache.hadoop.hbase.HBaseClassTestRule;
 import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.quotas.QuotaSettingsFactory.QuotaGlobalsSettingsBypass;
+import org.apache.hadoop.hbase.testclassification.SmallTests;
+import org.junit.ClassRule;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 
+@Category({SmallTests.class})
 public class TestQuotaGlobalsSettingsBypass {
 
+  @ClassRule
+  public static final HBaseClassTestRule CLASS_RULE =
+      HBaseClassTestRule.forClass(TestQuotaGlobalsSettingsBypass.class);
+
   @Test
   public void testMerge() throws IOException {
     QuotaGlobalsSettingsBypass orig = new QuotaGlobalsSettingsBypass("joe", null, null, true);