Class LogMinerHelperTest
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.logminer.processor.LogMinerHelperTest
- All Implemented Interfaces:
Testing
Unit tests for the
LogMinerHelper class.- Author:
- Chris Cranford
-
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
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static io.debezium.connector.oracle.logminer.LogFilecreateArchiveLog(String name, int startScn, int endScn, int sequence, int threadId) private static io.debezium.connector.oracle.logminer.LogFilecreateRedoLog(String name, int startScn, int sequence, int threadId) voidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Constructor Details
-
LogMinerHelperTest
public LogMinerHelperTest()
-
-
Method Details
-
testStandaloneLogStateWithOneThreadArchiveLogGap
- Throws:
Exception
-
testStandaloneLogStateWithNoGaps
- Throws:
Exception
-
testStandaloneLogStateWithJustOnlineLogs
- Throws:
Exception
-
testStandaloneLogStateWithMixOfArchiveAndRedoNoGaps
- Throws:
Exception
-
testRacLogStateWithOneThreadArchiveLogGap
- Throws:
Exception
-
testRacLogStateWithNoGaps
- Throws:
Exception
-
testRacLogStateWithJustOnlineLogs
- Throws:
Exception
-
testRacLogStateWithMixOfArchiveAndRedoNoGaps
- Throws:
Exception
-
testRacLogStateWithMixOfArchiveAndRedoForBothThreadsNoGap
- Throws:
Exception
-
createRedoLog
private static io.debezium.connector.oracle.logminer.LogFile createRedoLog(String name, int startScn, int sequence, int threadId) -
createArchiveLog
private static io.debezium.connector.oracle.logminer.LogFile createArchiveLog(String name, int startScn, int endScn, int sequence, int threadId)
-