public class TestChoreService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestChoreService.ScheduledChoreSamples
A few ScheduledChore samples that are useful for testing with ChoreService
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
TestChoreService() |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdownService(org.apache.hadoop.hbase.ChoreService service) |
void |
testCancelChore() |
void |
testChangingChoreServices() |
void |
testChoreServiceConstruction() |
void |
testCorePoolDecrease() |
void |
testCorePoolIncrease() |
void |
testForceTrigger() |
void |
testFrequencyOfChores() |
void |
testInitialChorePrecedence() |
void |
testMaximumChoreServiceThreads()
ChoreServices should never have a core pool size that exceeds the number of chores that have
been scheduled with the service.
|
void |
testNumberOfChoresMissingStartTime() |
void |
testNumberOfRunningChores() |
void |
testScheduledChoreConstruction() |
void |
testShutdownCancelsScheduledChores() |
void |
testShutdownRejectsNewSchedules() |
void |
testShutdownWorksWhileChoresAreExecuting() |
void |
testStopperForScheduledChores() |
public static final HBaseClassTestRule CLASS_RULE
public static final org.slf4j.Logger log
public TestChoreService()
public void testInitialChorePrecedence() throws InterruptedException
InterruptedExceptionpublic void testCancelChore() throws InterruptedException
InterruptedExceptionpublic void testScheduledChoreConstruction()
public void testChoreServiceConstruction() throws InterruptedException
InterruptedExceptionpublic void testFrequencyOfChores() throws InterruptedException
InterruptedExceptionpublic void shutdownService(org.apache.hadoop.hbase.ChoreService service) throws InterruptedException
InterruptedExceptionpublic void testForceTrigger() throws InterruptedException
InterruptedExceptionpublic void testCorePoolIncrease() throws InterruptedException
InterruptedExceptionpublic void testCorePoolDecrease() throws InterruptedException
InterruptedExceptionpublic void testNumberOfRunningChores() throws InterruptedException
InterruptedExceptionpublic void testNumberOfChoresMissingStartTime() throws InterruptedException
InterruptedExceptionpublic void testMaximumChoreServiceThreads() throws InterruptedException
InterruptedExceptionpublic void testChangingChoreServices() throws InterruptedException
InterruptedExceptionpublic void testStopperForScheduledChores() throws InterruptedException
InterruptedExceptionpublic void testShutdownCancelsScheduledChores() throws InterruptedException
InterruptedExceptionpublic void testShutdownWorksWhileChoresAreExecuting() throws InterruptedException
InterruptedExceptionpublic void testShutdownRejectsNewSchedules() throws InterruptedException
InterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.