public class TestOverflow extends AbstractResourceManagerTestCase
ResourceManager#overflow(boolean, boolean)
AbstractResourceManagerTestCase.MockFederation, AbstractResourceManagerTestCase.MockMetadataService
TestCase2.MyProperties, TestCase2.RandomType
concurrencyManager, localTransactionManager, metadataService, resourceManager
_randomType, log
Constructor and Description |
---|
TestOverflow() |
TestOverflow(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
test_overflow()
A test for overflow of the
ResourceManager . |
assertSameResources, getProperties, 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 TestOverflow()
public TestOverflow(String arg0)
arg0
- public void test_overflow() throws IOException
ResourceManager
. We begin with a blank
slate, so the ResourceManager
creates an initial Journal
for us and then puts it into play. The test then registers an initial
partition of scale-out index on that journal and some data is written on
that index. An overflow operation is executed, which causes a new
Journal
to be created and brought into play. The test then
verifies that the index is re-defined on the new journal such that its
view includes the data on the old journal as well.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.