Package io.debezium.connector.mysql
Class MySqlConnectorRegressionIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mysql.MySqlConnectorRegressionIT
- All Implemented Interfaces:
Testing
- Author:
- Randall Hauch
-
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 static final TemporalAdjusterprivate Configurationprivate final UniqueDatabaseprivate static final PathFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidvoidprivate Stringprivate intgetNanos()private intprivate longprivate longvoidvoidvoidvoidvoidvoidvoidprivate DurationtoDuration(String duration) 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, waitForNotInitialState, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
SCHEMA_HISTORY_PATH
-
DATABASE
-
ADJUSTER
-
config
-
-
Constructor Details
-
MySqlConnectorRegressionIT
public MySqlConnectorRegressionIT()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot
@FixFor("DBZ-61") public void shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshotAndConnectTimesTypes
@FixFor("DBZ-61") public void shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshotAndConnectTimesTypes() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeAllEventsFromDatabaseUsingSnapshot
public void shouldConsumeAllEventsFromDatabaseUsingSnapshot() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeDatesCorrectlyWhenClientTimezonePrecedesServerTimezoneUsingSnapshot
public void shouldConsumeDatesCorrectlyWhenClientTimezonePrecedesServerTimezoneUsingSnapshot() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeAllEventsFromDecimalTableInDatabaseUsingBinlogAndNoSnapshot
@FixFor("DBZ-147") public void shouldConsumeAllEventsFromDecimalTableInDatabaseUsingBinlogAndNoSnapshot() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeDecimalAsStringFromBinlog
@FixFor("DBZ-611") public void shouldConsumeDecimalAsStringFromBinlog() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
shouldConsumeDecimalAsStringFromSnapshot
@FixFor("DBZ-611") public void shouldConsumeDecimalAsStringFromSnapshot() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
assertTimestamp
-
toDuration
-
getDuration
-
getNanos
private int getNanos() -
getNanoSeconds
private int getNanoSeconds() -
getTimeWithNanoSeconds
private long getTimeWithNanoSeconds() -
getTimeWithNanoSecondsLarge
private long getTimeWithNanoSecondsLarge()
-