Package org.apache.hadoop.hbase.quotas
Class TestSnapshotQuotaObserverChore
java.lang.Object
org.apache.hadoop.hbase.quotas.TestSnapshotQuotaObserverChore
Test class for the
SnapshotQuotaObserverChore
.-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private org.apache.hadoop.hbase.client.Connection
private static final AtomicLong
private SpaceQuotaHelperForTests
private static final org.slf4j.Logger
private org.apache.hadoop.hbase.master.HMaster
private static final HBaseTestingUtil
private org.apache.hadoop.hbase.quotas.SnapshotQuotaObserverChore
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) boolean
closeInSize
(long size1, long size2, long delta) Computes ifsize2
is withindelta
ofsize1
, inclusive.void
setup()
static void
setUp()
static void
tearDown()
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
COUNTER
-
testName
-
conn
-
admin
-
helper
-
master
-
testChore
-
-
Constructor Details
-
TestSnapshotQuotaObserverChore
public TestSnapshotQuotaObserverChore()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setup
- Throws:
Exception
-
testSnapshotsFromTables
- Throws:
Exception
-
testSnapshotsFromNamespaces
- Throws:
Exception
-
testSnapshotSize
- Throws:
Exception
-
testPersistingSnapshotsForNamespaces
- Throws:
Exception
-
testRemovedSnapshots
- Throws:
Exception
-
testBucketingFilesToSnapshots
- Throws:
Exception
-
closeInSize
Computes ifsize2
is withindelta
ofsize1
, inclusive.
-