Package io.debezium.connector.mysql
Class MySqlConnectorConvertingFailureIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mysql.MySqlConnectorConvertingFailureIT
- All Implemented Interfaces:
Testing
- Author:
- Inki Hwang
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Configurationprivate final UniqueDatabaseprivate static final Pathprivate static final intFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidalterTableWithSqlBinLogOff(String ddl, boolean replicaIsMaster) voidvoidvoidvoidvoidvoidvoidMethods 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, createEngine, createEngineBuilder, 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, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
DB_HISTORY_PATH
-
DATABASE
-
config
-
INITIAL_EVENT_COUNT
private static final int INITIAL_EVENT_COUNT- See Also:
-
-
Constructor Details
-
MySqlConnectorConvertingFailureIT
public MySqlConnectorConvertingFailureIT()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
shouldRecoverToSyncSchemaWhenFailedValueConvertByDdlWithSqlLogBinIsOff
@FixFor("DBZ-7143") public void shouldRecoverToSyncSchemaWhenFailedValueConvertByDdlWithSqlLogBinIsOff() throws Exception- Throws:
Exception
-
shouldFailConversionNullableTimeTypeWithConnectModeWhenWarnMode
@FixFor("DBZ-7143") public void shouldFailConversionNullableTimeTypeWithConnectModeWhenWarnMode() throws Exception- Throws:
Exception
-
shouldFailedConvertedValueIsNullWithSkipMode
- Throws:
Exception
-
shouldFailConversionNotNullTimeTypeWithConnectModeWhenWarnMode
@FixFor("DBZ-7143") public void shouldFailConversionNotNullTimeTypeWithConnectModeWhenWarnMode() throws Exception- Throws:
Exception
-
shouldFailConversionTimeTypeWithConnectModeWhenFailMode
@FixFor("DBZ-7143") public void shouldFailConversionTimeTypeWithConnectModeWhenFailMode() throws Exception- Throws:
Exception
-
shouldFailConversionDefaultTimeTypeWithConnectModeWhenWarnMode
@FixFor("DBZ-7143") public void shouldFailConversionDefaultTimeTypeWithConnectModeWhenWarnMode() throws Exception- Throws:
Exception
-
alterTableWithSqlBinLogOff
- Throws:
SQLException
-