public class OracleConnectorIT extends AbstractConnectorTest
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private static io.debezium.connector.oracle.OracleConnection |
connection |
private static long |
MICROS_PER_SECOND |
org.junit.rules.TestRule |
skipAdapterRule |
org.junit.rules.TestRule |
skipOptionRule |
private static String |
SNAPSHOT_COMPLETED_KEY |
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
OracleConnectorIT() |
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, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecordsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, once, once, print, print, printError, printError, printError, resetBeforeEachTest, time, timeprivate static final long MICROS_PER_SECOND
private static final String SNAPSHOT_COMPLETED_KEY
public final org.junit.rules.TestRule skipAdapterRule
public final org.junit.rules.TestRule skipOptionRule
private static io.debezium.connector.oracle.OracleConnection connection
public static void beforeClass()
throws SQLException
SQLExceptionpublic static void closeConnection()
throws SQLException
SQLExceptionpublic void before()
throws SQLException
SQLException@FixFor(value="DBZ-2452") public void shouldSnapshotAndStreamWithHyphenedTableName() throws Exception
Exceptionpublic void shouldContinueWithStreamingAfterSnapshot()
throws Exception
Exceptionprivate void continueStreamingAfterSnapshot(Configuration config) throws Exception
Exception@FixFor(value="DBZ-1223") public void shouldStreamTransaction() throws Exception
Exceptionprivate void sendTxBatch(Configuration config, int expectedRecordCount, int offset) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionprivate void assertTxBatch(Configuration config, int expectedRecordCount, int offset) throws InterruptedException
InterruptedExceptionpublic void shouldStreamAfterRestartAfterSnapshot()
throws Exception
Exceptionpublic void shouldReadChangeStreamForExistingTable()
throws Exception
Exception@FixFor(value="DBZ-835") public void deleteWithoutTombstone() throws Exception
Exceptionpublic void shouldReadChangeStreamForTableCreatedWhileStreaming()
throws Exception
Exception@FixFor(value="DBZ-800") public void shouldReceiveHeartbeatAlsoWhenChangingTableIncludeListTables() throws Exception
Exception@FixFor(value="DBZ-775") public void shouldConsumeEventsWithMaskedAndTruncatedColumnsWithDatabaseName() throws Exception
Exception@FixFor(value="DBZ-775") public void shouldConsumeEventsWithMaskedAndTruncatedColumnsWithoutDatabaseName() throws Exception
Exceptionpublic void shouldConsumeEventsWithMaskedAndTruncatedColumns(boolean useDatabaseName)
throws Exception
Exception@FixFor(value="DBZ-775") public void shouldRewriteIdentityKeyWithDatabaseName() throws Exception
Exception@FixFor(value="DBZ-775") public void shouldRewriteIdentityKeyWithoutDatabaseName() throws Exception
Exceptionprivate void shouldRewriteIdentityKey(boolean useDatabaseName)
throws Exception
Exception@FixFor(value={"DBZ-1916","DBZ-1830"}) public void shouldPropagateSourceTypeByDatatype() throws Exception
Exception@FixFor(value="DBZ-2624") public void shouldSnapshotAndStreamChangesFromTableWithNumericDefaultValues() throws Exception
Exception@FixFor(value="DBZ-2683") public void shouldSnapshotAndStreamChangesFromPartitionedTable() throws Exception
Exception@FixFor(value="DBZ-2849") public void shouldAvroSerializeColumnsWithSpecialCharacters() throws Exception
Exception@FixFor(value="DBZ-2825") public void testArchiveLogScnBoundariesAreIncluded() throws Exception
Exception@FixFor(value="DBZ-2784") public void shouldConvertDatesSpecifiedAsStringInSQL() throws Exception
Exception@FixFor(value="DBZ-2733") public void shouldConvertNumericAsStringDecimalHandlingMode() throws Exception
Exceptionprotected void assertRecordSchemaAndValues(List<SchemaAndValueField> expectedByColumn, org.apache.kafka.connect.source.SourceRecord record, String envelopeFieldName)
@FixFor(value="DBZ-2920") public void shouldStreamDdlThatExceeds4000() throws Exception
Exception@FixFor(value="DBZ-2891") public void shouldNotObserveDeadlockWhileStreamingWithXstream() throws Exception
Exception@FixFor(value="DBZ-3057") public void shouldReadTableUniqueIndicesWithCharactersThatRequireExplicitQuotes() throws Exception
Exception@FixFor(value="DBZ-3151") public void testSnapshotCompletesWithSystemGeneratedUniqueIndexOnKeylessTable() throws Exception
Exception@FixFor(value="DBZ-3001") public void shouldGetOracleDatabaseVersion() throws Exception
Exception@FixFor(value="DBZ-3109") public void shouldStreamChangesForTableWithMultipleLogGroupTypes() throws Exception
Exception@FixFor(value="DBZ-2875") public void shouldResumeStreamingAtCorrectScnOffset() throws Exception
Exception@FixFor(value="DBZ-3036") public void shouldHandleParentChildIndexOrganizedTables() throws Exception
Exception@FixFor(value="DBZ-3257") public void shouldSnapshotAndStreamClobDataTypes() throws Exception
Exception@FixFor(value="DBZ-3347") public void shouldContainPartitionInSchemaChangeEvent() throws Exception
Exception@FixFor(value="DBZ-832") public void shouldSnapshotAndStreamTablesWithNoPrimaryKey() throws Exception
Exception@FixFor(value="DBZ-3322") public void shouldNotEmitEventsOnConstraintViolations() throws Exception
Exception@FixFor(value="DBZ-3322") public void shouldNotEmitEventsInRollbackTransaction() throws Exception
Exceptionprivate String generateAlphaNumericStringColumn(int size)
private void verifyHeartbeatRecord(org.apache.kafka.connect.source.SourceRecord heartbeat)
private long toMicroSecondsSinceEpoch(LocalDateTime localDateTime)
Copyright © 2021 JBoss by Red Hat. All rights reserved.