public class TestUnisolatedWriteTasks extends ProxyTestCase<Journal>
Name2Addr
on its commit
list and that writes are NOT lost in large commit groups.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestUnisolatedWriteTasks() |
TestUnisolatedWriteTasks(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_writeManyIndices()
This is an N index stress test designed to verify that all indices
receive their writes in a large commit group.
|
void |
test_writeOneIndex()
Test creates a named index and writes a set of entries on that index
using an unisolated write task.
|
void |
test_writeTwoIndex()
Test creates two named indices and writes a set of distinct entries on
each index using a single unisolated write task to write on both indices.
|
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 TestUnisolatedWriteTasks()
public TestUnisolatedWriteTasks(String name)
name
- public void test_writeOneIndex() throws InterruptedException, ExecutionException
public void test_writeTwoIndex() throws InterruptedException, ExecutionException
public void test_writeManyIndices() throws InterruptedException, ExecutionException
Name2Addr
.
Note: This does all writes in a single task in order to simulate a large
commit group and stress the commit list mechanism used by
Name2Addr
. However, it does not matter whether the data are
validated by a single read task or by multiple read tasks.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.