Package io.debezium.connector.oracle
Class IncrementalSnapshotIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
- io.debezium.connector.oracle.IncrementalSnapshotIT
-
- All Implemented Interfaces:
Testing
public class IncrementalSnapshotIT extends AbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
Incremental Snapshots tests for the Oracle connector.- Author:
- Chris Cranford
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecords
-
Nested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer
-
-
Field Summary
Fields Modifier and Type Field Description private io.debezium.connector.oracle.OracleConnectionconnectionSkipTestRuleskipRule-
Fields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
DB_HISTORY_PATH, ROW_COUNT
-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description IncrementalSnapshotIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()voidbefore()protected Configuration.Builderconfig()protected Class<io.debezium.connector.oracle.OracleConnector>connectorClass()protected JdbcConnectiondatabaseConnection()protected StringpkFieldName()protected voidpopulateTable()protected StringsignalTableName()protected StringtableDataCollectionId()protected StringtableName()protected StringtopicName()protected StringvalueFieldName()protected voidwaitForConnectorToStart()-
Methods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, getMaximumEnqueuedRecordCount, inserts, invalidTablesInTheList, populateTable, sendAdHocSnapshotSignal, sendAdHocSnapshotSignal, snapshotOnly, snapshotOnlyWithRestart, startConnector, startConnector, startConnector, startConnector, updates, updatesLargeChunk, updatesWithRestart
-
Methods 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, debug, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
-
-
-
Field Detail
-
connection
private io.debezium.connector.oracle.OracleConnection connection
-
skipRule
public SkipTestRule skipRule
-
-
Method Detail
-
waitForConnectorToStart
protected void waitForConnectorToStart()
- Overrides:
waitForConnectorToStartin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
populateTable
protected void populateTable() throws SQLException- Overrides:
populateTablein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
SQLException
-
connectorClass
protected Class<io.debezium.connector.oracle.OracleConnector> connectorClass()
- Specified by:
connectorClassin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
databaseConnection
protected JdbcConnection databaseConnection()
- Specified by:
databaseConnectionin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
topicName
protected String topicName()
- Specified by:
topicNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableName
protected String tableName()
- Specified by:
tableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableDataCollectionId
protected String tableDataCollectionId()
- Overrides:
tableDataCollectionIdin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
signalTableName
protected String signalTableName()
- Specified by:
signalTableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
config
protected Configuration.Builder config()
- Specified by:
configin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
valueFieldName
protected String valueFieldName()
- Overrides:
valueFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
pkFieldName
protected String pkFieldName()
- Overrides:
pkFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
-