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, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static io.debezium.connector.oracle.logminer.LogFilecreateArchiveLog(String name, long startScn, long endScn, int sequence, int threadId) private static io.debezium.connector.oracle.logminer.LogFilecreateRedoLog(String name, long startScn, int sequence, int threadId) private static io.debezium.connector.oracle.logminer.LogFilecreateRedoLog(String name, long startScn, long endScn, int sequence, int threadId) private static io.debezium.connector.oracle.logminer.LogFilecreateRedoLog(String name, long startScn, long endScn, int sequence, int threadId, boolean current) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, 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, waitForNotInitialState, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, 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
-
testOracleRacWithRealDataRedoThreadsWithIndependentSequenceRanges
@FixFor("DBZ-7158") public void testOracleRacWithRealDataRedoThreadsWithIndependentSequenceRanges() throws Exception- Throws:
Exception
-
createRedoLog
private static io.debezium.connector.oracle.logminer.LogFile createRedoLog(String name, long startScn, int sequence, int threadId) -
createRedoLog
private static io.debezium.connector.oracle.logminer.LogFile createRedoLog(String name, long startScn, long endScn, int sequence, int threadId) -
createRedoLog
private static io.debezium.connector.oracle.logminer.LogFile createRedoLog(String name, long startScn, long endScn, int sequence, int threadId, boolean current) -
createArchiveLog
private static io.debezium.connector.oracle.logminer.LogFile createArchiveLog(String name, long startScn, long endScn, int sequence, int threadId)
-