public class BigdataConnectionTest extends RepositoryConnectionTest
| Constructor and Description |
|---|
BigdataConnectionTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected org.openrdf.repository.Repository |
createRepository()
Gets an (uninitialized) instance of the repository that should be tested.
|
protected Properties |
getProperties() |
void |
tearDown()
Overridden to destroy the backend database and its files on the disk.
|
void |
testOrderByQueriesAreInterruptable() |
setUp, testAddGzipInputStream, testAddInputStream, testAddLiteralWithNewline, testAddMalformedLiteralsDefaultConfig, testAddMalformedLiteralsStrictConfig, testAddReader, testAddRemove, testAddStatement, testAddZipFile, testAutoCommit, testBNodeSerialization, testClear, testDataset, testDefaultContext, testDefaultInsertContext, testDeleteDefaultGraph, testDuplicateFilter, testEmptyCommit, testEmptyRollback, testExclusiveNullContext, testGetContextIDs, testGetNamespace, testGetNamespaces, testGetStatements, testGetStatementsInMultipleContexts, testGetStatementsInSingleContext, testGetStatementsMalformedLanguageLiteral, testGetStatementsMalformedTypedLiteral, testGraphSerialization, testInferredStatementCount, testLiteralSerialization, testOpen, testOptionalFilter, testOrPredicate, testPreparedBooleanQuery, testPreparedGraphQuery, testPreparedTupleQuery, testPreparedTupleQuery2, testPrepareSPARQLQuery, testQueryBaseURI, testQueryDefaultGraph, testReadOfAddedStatement1, testReadOfAddedStatement2, testRecoverFromParseError, testRemoveStatementCollection, testRemoveStatementIteration, testRemoveStatements, testRollback, testSES713, testSimpleBooleanQuery, testSimpleGraphQuery, testSimpleTupleQuery, testSizeCommit, testSizeRollback, testStatementSerialization, testTransactionIsolation, testTransactionIsolationForRead, testUpdateBaseURI, testURISerialization, testXmlCalendarZassertEquals, 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, toStringpublic BigdataConnectionTest(String name)
protected Properties getProperties()
protected org.openrdf.repository.Repository createRepository()
throws IOException
RepositoryConnectionTestcreateRepository in class RepositoryConnectionTestIOExceptionpublic void tearDown()
throws Exception
tearDown in class RepositoryConnectionTestExceptionpublic void testOrderByQueriesAreInterruptable()
throws Exception
This test was failing historically for two reasons. First, it would sometimes encounter a full GC pause that would suspend the JVM for longer than the query timeout. This would fail the test. Second, the query engine code used to only check for a deadline when a query operator would start or stop. This meant that a compute bound operator would not be interrupted if there was no other concurrent operators for that query that were starting and stoping. This was fixed in #722.
testOrderByQueriesAreInterruptable in class RepositoryConnectionTestExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.