public static class TestReleaseResources.TestWithCopyNoRelease extends TestReleaseResources
ResourceManager
is not permitted to release old resources
(it is configured as an immortal store).TestReleaseResources.TestWithCopy_NonZeroMinReleaseAge, TestReleaseResources.TestWithCopyImmediateRelease, TestReleaseResources.TestWithCopyNoRelease
AbstractResourceManagerTestCase.MockFederation, AbstractResourceManagerTestCase.MockMetadataService
TestCase2.MyProperties, TestCase2.RandomType
concurrencyManager, localTransactionManager, metadataService, resourceManager
_randomType, log
Constructor and Description |
---|
TestReleaseResources.TestWithCopyNoRelease() |
TestReleaseResources.TestWithCopyNoRelease(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()
Test creates an index whose view is initially defined by the initial
journal on the
ResourceManager . |
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 TestReleaseResources.TestWithCopyNoRelease()
public TestReleaseResources.TestWithCopyNoRelease(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() throws IOException, InterruptedException, ExecutionException
ResourceManager
. An overflow of the journal is
then forced, which re-defines the view on the new journal. Since the
index is very small (it is empty), it is "copied" onto the new
journal rather than causing an index segment build to be scheduled.
The original journal should not be released.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.