public class AbstractKeyRangeMasterTestCase extends TestCase2
AbstractMasterTask
and
friends using IPartitionMetadata
locators.
Note: There are a bunch of inner classes which have the same names as the generic types used by the master and subtask classes. This makes it much easier to instantiate these things since all of the generic variety has been factored out.
TestCase2.MyProperties, TestCase2.RandomType
Modifier and Type | Field and Description |
---|---|
protected Map<UUID,com.bigdata.service.ndx.pipeline.AbstractKeyRangeMasterTestCase.DS> |
dataServices
Mapping from
UUID s onto data services . |
_randomType, log
Constructor and Description |
---|
AbstractKeyRangeMasterTestCase() |
AbstractKeyRangeMasterTestCase(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
awaitChunksOut(com.bigdata.service.ndx.pipeline.AbstractKeyRangeMasterTestCase.M master,
int expectedChunksOut,
long timeout,
TimeUnit unit)
Sleep up to the timeout or until the chunksOut takes on the specified
value.
|
protected com.bigdata.service.ndx.pipeline.AbstractKeyRangeMasterTestCase.DS |
getRandomDataService()
Choose a data service at random.
|
protected void |
tearDown() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toString
public AbstractKeyRangeMasterTestCase()
public AbstractKeyRangeMasterTestCase(String arg0)
arg0
- protected com.bigdata.service.ndx.pipeline.AbstractKeyRangeMasterTestCase.DS getRandomDataService()
protected void tearDown()
tearDown
in class junit.framework.TestCase
protected void awaitChunksOut(com.bigdata.service.ndx.pipeline.AbstractKeyRangeMasterTestCase.M master, int expectedChunksOut, long timeout, TimeUnit unit) throws InterruptedException
master
- expectedChunksOut
- timeout
- unit
- InterruptedException
junit.framework.AssertionFailedError
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.