public class TestBuildTask2 extends AbstractResourceManagerTestCase
AbstractResourceManagerTestCase.MockFederation, AbstractResourceManagerTestCase.MockMetadataService
TestCase2.MyProperties, TestCase2.RandomType
concurrencyManager, localTransactionManager, metadataService, resourceManager
_randomType, log
Constructor and Description |
---|
TestBuildTask2() |
TestBuildTask2(String arg0) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
This sets a very low threshold for the #of index segment bytes which can
be incorporated into the accepted view for an incremental build.
|
void |
test_builds()
Test maintains ground truth and writes on an index partition and performs
a controlled overflow operation in which we do an index partition build.
|
assertSameResources, registerIndex, setUp, 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, 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, toString
public TestBuildTask2()
public TestBuildTask2(String arg0)
arg0
- public Properties getProperties()
getProperties
in class AbstractResourceManagerTestCase
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.OverflowManager.Options.MAXIMUM_BUILD_SEGMENT_BYTES
public void test_builds() throws InterruptedException, ExecutionException
Note: If an index partition view has only a little bit of data, then the "build" operation will actually incorporate all sources in the view, in effect doing a compacting merge instead of an incremental build in an effort to keep down the complexity of the view when that can be done with little cost. Therefore, it actually takes several passes before we have enough data on hand to take the code path which does an incremental build rather than a compacting merge.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.