public class TestCommitList extends ProxyTestCase<Journal>
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestCommitList() |
TestCommitList(String name) |
Modifier and Type | Method and Description |
---|---|
BTree |
getBTree(int branchingFactor,
Journal journal)
Return a btree backed by a journal with the indicated branching factor.
|
void |
test_commitList_001_restartSafe()
A variant of
test_commitList_001() in which we re-open the store
after each commit and verify that the record written can be read so that
we know that the commit was made restart safe. |
void |
test_commitList_001()
Test verifies that a named index is found on the commit list when (a) it
is newly created; and (b) when an entry is written on the index.
|
void |
test_commitList002()
Test creates an index, writes an entry on the index, and then commits the
index (so writing on the index immediately after it is created without an
intervening commit).
|
getDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegate, setUp, tearDown
checkIfProxy, fail, getRandomData, setUp, tearDown
assertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData
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 TestCommitList()
public TestCommitList(String name)
name
- public BTree getBTree(int branchingFactor, Journal journal)
branchingFactor
- The branching factor.public void test_commitList_001()
Note: test_commitList_001_restartSafe()
SHOULD be maintained in
parallel with this test -- it additionally verifies that the changes are
made restart safe by the commit.
test_commitList_001_restartSafe()
public void test_commitList_001_restartSafe()
test_commitList_001()
in which we re-open the store
after each commit and verify that the record written can be read so that
we know that the commit was made restart safe.public void test_commitList002()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.