Class BaseSourceTaskSnapshotModesValidationTest

java.lang.Object
io.debezium.connector.common.BaseSourceTaskSnapshotModesValidationTest

public class BaseSourceTaskSnapshotModesValidationTest extends Object
  • Field Details

  • Constructor Details

    • BaseSourceTaskSnapshotModesValidationTest

      public BaseSourceTaskSnapshotModesValidationTest()
  • Method Details

    • setup

      public void setup()
    • whenSnapshotModePermitsSchemaOrDataAndSnapshotIsNotCompletedOnConnectorRestartsValidateMustPass

      @FixFor("DBZ-7780") public void whenSnapshotModePermitsSchemaOrDataAndSnapshotIsNotCompletedOnConnectorRestartsValidateMustPass()
    • whenSnapshotModeNotPermitsSchemaAndDataAndSnapshotIsNotCompletedOnConnectorRestartsExceptionWillBeThrown

      public void whenSnapshotModeNotPermitsSchemaAndDataAndSnapshotIsNotCompletedOnConnectorRestartsExceptionWillBeThrown()
    • whenNoOffsetExistsAndSnapshotPermitsSchemaRecoveryAnExceptionWillBeThrown

      public void whenNoOffsetExistsAndSnapshotPermitsSchemaRecoveryAnExceptionWillBeThrown()
    • whenNoOffsetExistsAndDatabaseIsHistorizedThenSchemaStorageIsInitialized

      public void whenNoOffsetExistsAndDatabaseIsHistorizedThenSchemaStorageIsInitialized()
    • whenCompletedSnapshotExistsAndHistoryNotExistsAndSnapshotOnSchemaErrorThenSchemaStorageIsInitialized

      public void whenCompletedSnapshotExistsAndHistoryNotExistsAndSnapshotOnSchemaErrorThenSchemaStorageIsInitialized()
    • whenCompletedSnapshotExistsAndHistoryNotExistsAndSnapshotOnSchemaErrorIsFalseThenAnExceptionWillBeThrown

      public void whenCompletedSnapshotExistsAndHistoryNotExistsAndSnapshotOnSchemaErrorIsFalseThenAnExceptionWillBeThrown()
    • whenCompletedSnapshotExistsAndStoredOffsetPositionIsPresentOnDbLogThenSchemaWillBeRecovered

      public void whenCompletedSnapshotExistsAndStoredOffsetPositionIsPresentOnDbLogThenSchemaWillBeRecovered()
    • whenCompletedSnapshotExistsAndStoredOffsetPositionIsNotPresentOnDbLogThenAWarnShouldBeLogged

      public void whenCompletedSnapshotExistsAndStoredOffsetPositionIsNotPresentOnDbLogThenAWarnShouldBeLogged()
    • whenCompletedSnapshotExistsAndStoredOffsetPositionIsNotPresentOnDbLogAndSnapshotOnDataErrorThenOffsetWillBeReset

      public void whenCompletedSnapshotExistsAndStoredOffsetPositionIsNotPresentOnDbLogAndSnapshotOnDataErrorThenOffsetWillBeReset()