Class AbstractDatabaseHistoryTest

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.relational.history.AbstractDatabaseHistoryTest
All Implemented Interfaces:
Testing

public abstract class AbstractDatabaseHistoryTest extends AbstractConnectorTest
An abstract database history class, allowing each connector to extend to offer a common set of tests
Author:
Chris Cranford
  • Field Details

  • Constructor Details

    • AbstractDatabaseHistoryTest

      public AbstractDatabaseHistoryTest()
  • Method Details

    • beforeEach

      public void beforeEach()
    • afterEach

      public void afterEach()
    • shouldRecoverRenamedTableWithOnlyTheRenamedEntry

      @FixFor("DBZ-4451") public void shouldRecoverRenamedTableWithOnlyTheRenamedEntry() throws Exception
      Throws:
      Exception
    • getRenameCreateHistoryRecord

      protected abstract HistoryRecord getRenameCreateHistoryRecord()
    • getRenameAlterHistoryRecord

      protected abstract HistoryRecord getRenameAlterHistoryRecord()
    • getRenameTableId

      protected abstract TableId getRenameTableId()
    • getOffsets

      protected abstract io.debezium.pipeline.spi.Offsets<io.debezium.pipeline.spi.Partition,io.debezium.pipeline.spi.OffsetContext> getOffsets()
    • getDdlParser

      protected abstract DdlParser getDdlParser()
    • getHistoryConfiguration

      protected Configuration getHistoryConfiguration()
    • record

      protected void record(HistoryRecord... records) throws Exception
      Throws:
      Exception
    • recoverHistory

      protected Tables recoverHistory()