public class TestBuildTask extends AbstractResourceManagerTestCase
AbstractResourceManagerTestCase.MockFederation, AbstractResourceManagerTestCase.MockMetadataService
TestCase2.MyProperties, TestCase2.RandomType
concurrencyManager, localTransactionManager, metadataService, resourceManager
_randomType, log
Constructor and Description |
---|
TestBuildTask() |
TestBuildTask(String arg0) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Forces the use of persistent journals so that we can do overflow
operations and the like.
|
void |
test_buildWithoutOverflow()
Unit test of a build conducted against a historical snapshot of a view
created by
BTree.createViewCheckpoint() . |
void |
test_buildWithOverflow()
Test generates an
IndexSegment from an ordered subset of the
sources specified for the fused view of an index partition. |
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 TestBuildTask()
public TestBuildTask(String arg0)
arg0
- public Properties getProperties()
AbstractResourceManagerTestCase
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.public void test_buildWithOverflow() throws IOException, InterruptedException, ExecutionException
IndexSegment
from an ordered subset of the
sources specified for the fused view of an index partition. The resulting
IndexSegment
is a partial replacement for the historical view and
must retain the most recent tuple or delete marker written for any key in
the accepted sources in the generated IndexSegment
.
When the IndexSegment
is incorporated back into the view, it will
be placed after the BTree
on the live journal that is used to
absorb buffered writes and before any sources which were not incorporated
into the view. This change needs to be recorded in the
MetadataIndex
before clients will being reading from the new view
using the new IndexSegment
.
public void test_buildWithoutOverflow() throws InterruptedException, ExecutionException
BTree.createViewCheckpoint()
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.