HBASE-20640 Add missing test category and class rule

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
Josh Elser 2018-05-24 13:21:21 -04:00
parent b77fb77b32
commit c17be2e622
1 changed files with 9 additions and 0 deletions

View File

@ -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);