Class InformixConnectorIT

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.informix.InformixConnectorIT
All Implemented Interfaces:
io.debezium.util.Testing

public class InformixConnectorIT extends io.debezium.embedded.AbstractConnectorTest
Integration test for the Debezium Informix connector.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest

    io.debezium.embedded.AbstractConnectorTest.SourceRecords

    Nested classes/interfaces inherited from interface io.debezium.util.Testing

    io.debezium.util.Testing.Debug, io.debezium.util.Testing.Files, io.debezium.util.Testing.InterruptableFunction, io.debezium.util.Testing.Network, io.debezium.util.Testing.Print, io.debezium.util.Testing.Timer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private io.debezium.connector.informix.InformixConnection
     

    Fields inherited from class io.debezium.embedded.AbstractConnectorTest

    consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    private void
    assertRecord(org.apache.kafka.connect.data.Struct record, List<io.debezium.data.SchemaAndValueField> expected)
     
    void
     
    void
     
    void
     
    void
     
    private void
    restartInTheMiddleOfTx(boolean restartJustAfterSnapshot, boolean afterStreaming)
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
     

    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, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.debezium.util.Testing

    once, once, resetBeforeEachTest, time, time
  • Field Details

    • connection

      private io.debezium.connector.informix.InformixConnection connection
  • Constructor Details

    • InformixConnectorIT

      public InformixConnectorIT()
  • Method Details

    • before

      public void before() throws SQLException
      Throws:
      SQLException
    • after

      public void after() throws SQLException
      Throws:
      SQLException
    • deleteWithoutTombstone

      public void deleteWithoutTombstone() throws Exception
      Throws:
      Exception
    • deleteWithTombstone

      public void deleteWithTombstone() throws Exception
      Throws:
      Exception
    • testTruncateTable

      public void testTruncateTable() throws Exception
      Throws:
      Exception
    • updatePrimaryKey

      public void updatePrimaryKey() throws Exception
      Throws:
      Exception
    • updatePrimaryKeyWithRestartInMiddle

      @FixFor("DBZ-1152") public void updatePrimaryKeyWithRestartInMiddle() throws Exception
      Throws:
      Exception
    • verifyOffsets

      @FixFor("DBZ-1069") public void verifyOffsets() throws Exception
      Throws:
      Exception
    • testTableIncludeList

      public void testTableIncludeList() throws Exception
      Throws:
      Exception
    • testTableExcludeList

      public void testTableExcludeList() throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTx

      private void restartInTheMiddleOfTx(boolean restartJustAfterSnapshot, boolean afterStreaming) throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTxAfterSnapshot

      @FixFor("DBZ-1128") public void restartInTheMiddleOfTxAfterSnapshot() throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTxAfterCompletedTx

      @FixFor("DBZ-1128") public void restartInTheMiddleOfTxAfterCompletedTx() throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTx

      @FixFor("DBZ-1128") public void restartInTheMiddleOfTx() throws Exception
      Throws:
      Exception
    • testEmptySchemaWarningAfterApplyingFilters

      @FixFor("DBZ-1242") public void testEmptySchemaWarningAfterApplyingFilters() throws Exception
      Throws:
      Exception
    • shouldConsumeEventsWithMaskedAndTruncatedColumns

      @FixFor("DBZ-775") public void shouldConsumeEventsWithMaskedAndTruncatedColumns() throws Exception
      Throws:
      Exception
    • shouldRewriteIdentityKey

      @FixFor("DBZ-775") public void shouldRewriteIdentityKey() throws Exception
      Throws:
      Exception
    • shouldPropagateSourceTypeByDatatype

      @FixFor({"DBZ-1916","DBZ-1830"}) public void shouldPropagateSourceTypeByDatatype() throws Exception
      Throws:
      Exception
    • shouldOutputRecordsInCloudEventsFormat

      @FixFor("DBZ-3668") public void shouldOutputRecordsInCloudEventsFormat() throws Exception
      Throws:
      Exception
    • assertRecord

      private void assertRecord(org.apache.kafka.connect.data.Struct record, List<io.debezium.data.SchemaAndValueField> expected)