Package io.debezium.connector.oracle
Class LogMinerHelperIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.oracle.LogMinerHelperIT
-
- All Implemented Interfaces:
Testing
public class LogMinerHelperIT extends AbstractConnectorTest
This subclasses common OracleConnectorIT for LogMiner adaptor
-
-
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 static io.debezium.connector.oracle.OracleConnectionconnorg.junit.rules.TestRuleskipAdapterRule-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description LogMinerHelperIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbefore()static voidbeforeSuperClass()static voidcloseConnection()private static intgetNumberOfAddedLogFiles(io.debezium.connector.oracle.OracleConnection conn)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)voidshouldAddCorrectLogFiles()voidshouldOnlyReturnArchiveLogs()voidshouldSetCorrectLogFiles()-
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, getMaximumEnqueuedRecordCount, 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
-
-
-
-
Method Detail
-
beforeSuperClass
public static void beforeSuperClass() throws SQLException- Throws:
SQLException
-
closeConnection
public static void closeConnection() throws SQLException- Throws:
SQLException
-
before
public void before() throws SQLException- Throws:
SQLException
-
shouldAddCorrectLogFiles
@FixFor("DBZ-3256") public void shouldAddCorrectLogFiles() throws Exception
- Throws:
Exception
-
shouldSetCorrectLogFiles
@FixFor("DBZ-3256") public void shouldSetCorrectLogFiles() throws Exception
- Throws:
Exception
-
shouldOnlyReturnArchiveLogs
@FixFor("DBZ-3561") public void shouldOnlyReturnArchiveLogs() throws Exception
- 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
-
-