Package org.apache.hadoop.hbase.quotas
Class TestSpaceQuotaSwitchPolicies
java.lang.Object
org.apache.hadoop.hbase.quotas.TestSpaceQuotaSwitchPolicies
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private SpaceQuotaHelperForTests
private static final HBaseTestingUtil
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
setQuotaAndViolateNextSwitchPoliciesAndValidate
(org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy1, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy2) static void
setUp()
static void
tearDown()
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
testName
-
helper
-
-
Constructor Details
-
TestSpaceQuotaSwitchPolicies
public TestSpaceQuotaSwitchPolicies()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
removeAllQuotas
- Throws:
Exception
-
testSetQuotaFirstWithDisableNextNoWrites
- Throws:
Exception
-
testSetQuotaFirstWithDisableNextAgainDisable
- Throws:
Exception
-
testSetQuotaFirstWithDisableNextNoInserts
- Throws:
Exception
-
testSetQuotaFirstWithDisableNextNoWritesCompaction
- Throws:
Exception
-
testSetQuotaFirstWithNoWritesNextWithDisable
- Throws:
Exception
-
setQuotaAndViolateNextSwitchPoliciesAndValidate
private void setQuotaAndViolateNextSwitchPoliciesAndValidate(org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy1, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy2) throws Exception - Throws:
Exception
-