Package io.debezium.connector.oracle
Class LogMinerHelperIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.LogMinerHelperIT
- All Implemented Interfaces:
Testing
This subclasses common OracleConnectorIT for LogMiner adaptor
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static io.debezium.connector.oracle.OracleConnectionfinal org.junit.rules.TestRuleFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()static voidstatic voidprivate static intgetNumberOfAddedLogFiles(io.debezium.connector.oracle.OracleConnection conn) private static intgetNumberOfInstances(io.debezium.connector.oracle.OracleConnection connection) private io.debezium.connector.oracle.ScngetOldestArchivedScn(List<io.debezium.connector.oracle.Scn> oneDayArchivedNextScn) private List<io.debezium.connector.oracle.Scn>getOneDayArchivedLogNextScn(io.debezium.connector.oracle.OracleConnection conn) voidvoidvoidvoidMethods inherited from class io.debezium.embedded.AbstractConnectorTest
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
skipAdapterRule
public final org.junit.rules.TestRule skipAdapterRule -
conn
private static io.debezium.connector.oracle.OracleConnection conn
-
-
Constructor Details
-
LogMinerHelperIT
public LogMinerHelperIT()
-
-
Method Details
-
beforeSuperClass
- Throws:
SQLException
-
closeConnection
- Throws:
SQLException
-
before
- Throws:
SQLException
-
shouldAddCorrectLogFiles
- Throws:
Exception
-
shouldSetCorrectLogFiles
- Throws:
Exception
-
shouldOnlyReturnArchiveLogs
- Throws:
Exception
-
shouldGetArchiveLogsWithDestinationSpecified
- Throws:
Exception
-
getOldestArchivedScn
private io.debezium.connector.oracle.Scn getOldestArchivedScn(List<io.debezium.connector.oracle.Scn> oneDayArchivedNextScn) -
getNumberOfAddedLogFiles
private static int getNumberOfAddedLogFiles(io.debezium.connector.oracle.OracleConnection conn) throws SQLException - Throws:
SQLException
-
getOneDayArchivedLogNextScn
private List<io.debezium.connector.oracle.Scn> getOneDayArchivedLogNextScn(io.debezium.connector.oracle.OracleConnection conn) throws SQLException - Throws:
SQLException
-
getNumberOfInstances
private static int getNumberOfInstances(io.debezium.connector.oracle.OracleConnection connection) throws SQLException - Throws:
SQLException
-