Class MySqlTaskContextTest

java.lang.Object
io.debezium.connector.mysql.legacy.MySqlTaskContextTest
Direct Known Subclasses:
MySqlTaskContextIT

public class MySqlTaskContextTest extends Object
Author:
Randall Hauch
  • Field Details

    • DB_HISTORY_PATH

      protected static final Path DB_HISTORY_PATH
    • hostname

      protected String hostname
    • port

      protected int port
    • username

      protected String username
    • password

      protected String password
    • serverId

      protected int serverId
    • serverName

      protected String serverName
    • databaseName

      protected String databaseName
    • config

      protected Configuration config
    • context

      protected io.debezium.connector.mysql.legacy.MySqlTaskContext context
  • Constructor Details

    • MySqlTaskContextTest

      public MySqlTaskContextTest()
  • Method Details

    • beforeEach

      public void beforeEach()
    • afterEach

      public void afterEach()
    • simpleConfig

      protected Configuration.Builder simpleConfig()
    • shouldCreateTaskFromConfigurationWithNeverSnapshotMode

      public void shouldCreateTaskFromConfigurationWithNeverSnapshotMode() throws Exception
      Throws:
      Exception
    • shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode

      public void shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode() throws Exception
      Throws:
      Exception
    • shouldFilterInternalDmlStatementsUsingDefaultFilter

      public void shouldFilterInternalDmlStatementsUsingDefaultFilter() throws Exception
      Throws:
      Exception
    • shouldUseGtidSetIncludes

      public void shouldUseGtidSetIncludes() throws Exception
      Throws:
      Exception
    • shouldUseGtidSetIncludesLiteralUuids

      public void shouldUseGtidSetIncludesLiteralUuids() throws Exception
      Throws:
      Exception
    • shouldUseGtidSetxcludesLiteralUuids

      public void shouldUseGtidSetxcludesLiteralUuids() throws Exception
      Throws:
      Exception
    • shouldNotAllowBothGtidSetIncludesAndExcludes

      public void shouldNotAllowBothGtidSetIncludesAndExcludes() throws Exception
      Throws:
      Exception
    • shouldFilterAndMergeGtidSet

      public void shouldFilterAndMergeGtidSet() throws Exception
      Throws:
      Exception
    • shouldMergeToFirstAvailableGtidSetPositions

      @FixFor("DBZ-923") public void shouldMergeToFirstAvailableGtidSetPositions() throws Exception
      Throws:
      Exception
    • shouldComparePositionsWithDifferentFields

      public void shouldComparePositionsWithDifferentFields()
    • shouldIgnoreDatabaseHistoryProperties

      public void shouldIgnoreDatabaseHistoryProperties() throws Exception
      Throws:
      Exception
    • historyRecord

      protected HistoryRecord historyRecord(String serverName, String binlogFilename, int position, String gtids, int event, int row, boolean snapshot)