public class TestHistoryIndex extends ProxyBigdataSailTestCase
HistoryServiceFactory
.For read/write tx, we can not use an unisolated history index since changes could become committed before a given tx commits due to a concurrent tx commit. That would break the semantics of the history index if the tx then fails rather than committing since some of its changes would have become visible and durable anyway.
We might need a write-write conflict resolver for the history index when read-write tx are used. Otherwise a conflict on the history index could cause a tx to fail. I suspect that we can reconcile exactly the same write-write conflicts on the history index that we can reconcile on the statement indices, but this needs to be worked through in detail.
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestHistoryIndex() |
TestHistoryIndex(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_historyIndex01()
Unit test works its way through two commit points, verifying the state
changes in the history index in depth.
|
void |
test_historyIndexDisabled()
Unit test verifies that the history index is not created if the option is
not enabled.
|
void |
test_historyIndexWithPruning01()
Unit test works its way through two commit points when the index pruning
is set to 1 millisecond, verifying the state changes in the history index
in depth.
|
assertSameIterationAnyOrder, assertSameIterationAnyOrder, compare, createBindingSet, getDelegate, getOurDelegate, getProperties, getSail, getSail, reopenSail, setDelegate, setUp, tearDown
checkIfProxy, 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 TestHistoryIndex()
public TestHistoryIndex(String name)
name
- public void test_historyIndexDisabled() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
public void test_historyIndex01() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
public void test_historyIndexWithPruning01() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.