HBASE-19928 TestVisibilityLabelsOnNewVersionBehaviorTable fails
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a3233572 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a3233572 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a3233572 Branch: refs/heads/HBASE-19397-branch-2 Commit: a3233572ac8049fdbfa7edc9a48ca80a8c3de1ae Parents: 00653a4 Author: Michael Stack <st...@apache.org> Authored: Sat Feb 3 10:17:16 2018 -0800 Committer: Michael Stack <st...@apache.org> Committed: Sat Feb 3 10:17:16 2018 -0800 ---------------------------------------------------------------------- .../TestVisibilityLabelsOnNewVersionBehaviorTable.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/a3233572/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsOnNewVersionBehaviorTable.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsOnNewVersionBehaviorTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsOnNewVersionBehaviorTable.java index c14438e..d3177f9 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsOnNewVersionBehaviorTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsOnNewVersionBehaviorTable.java @@ -19,12 +19,21 @@ package org.apache.hadoop.hbase.security.visibility; import java.io.IOException; +import org.apache.hadoop.hbase.HBaseClassTestRule; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.Table; +import org.apache.hadoop.hbase.testclassification.MediumTests; +import org.apache.hadoop.hbase.testclassification.SecurityTests; +import org.junit.ClassRule; +import org.junit.experimental.categories.Category; +@Category({SecurityTests.class, MediumTests.class}) public class TestVisibilityLabelsOnNewVersionBehaviorTable extends TestVisibilityLabelsWithDeletes { + @ClassRule + public static final HBaseClassTestRule CLASS_RULE = + HBaseClassTestRule.forClass(TestVisibilityLabelsOnNewVersionBehaviorTable.class); @Override protected Table createTable(HColumnDescriptor fam) throws IOException { @@ -35,5 +44,4 @@ public class TestVisibilityLabelsOnNewVersionBehaviorTable extends TestVisibilit TEST_UTIL.getHBaseAdmin().createTable(table); return TEST_UTIL.getConnection().getTable(tableName); } - }