public class TestSpaceQuotaSwitchPolicies extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private SpaceQuotaHelperForTests |
helper |
private static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestSpaceQuotaSwitchPolicies() |
Modifier and Type | Method and Description |
---|---|
void |
removeAllQuotas() |
private void |
setQuotaAndViolateNextSwitchPoliciesAndValidate(org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy1,
org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy2) |
static void |
setUp() |
static void |
tearDown() |
void |
testSetQuotaFirstWithDisableNextAgainDisable() |
void |
testSetQuotaFirstWithDisableNextNoInserts() |
void |
testSetQuotaFirstWithDisableNextNoWrites() |
void |
testSetQuotaFirstWithDisableNextNoWritesCompaction() |
void |
testSetQuotaFirstWithNoWritesNextWithDisable() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.TestName testName
private SpaceQuotaHelperForTests helper
public TestSpaceQuotaSwitchPolicies()
public void removeAllQuotas() throws Exception
Exception
public void testSetQuotaFirstWithDisableNextNoWrites() throws Exception
Exception
public void testSetQuotaFirstWithDisableNextAgainDisable() throws Exception
Exception
public void testSetQuotaFirstWithDisableNextNoInserts() throws Exception
Exception
public void testSetQuotaFirstWithDisableNextNoWritesCompaction() throws Exception
Exception
public void testSetQuotaFirstWithNoWritesNextWithDisable() throws Exception
Exception
private void setQuotaAndViolateNextSwitchPoliciesAndValidate(org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy1, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy2) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.