Package io.debezium.connector.mysql
Class MySqlConnectorRegressionIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.mysql.MySqlConnectorRegressionIT
-
- All Implemented Interfaces:
Testing
public class MySqlConnectorRegressionIT extends AbstractConnectorTest
- Author:
- Randall Hauch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecords
-
Nested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer
-
-
Field Summary
Fields Modifier and Type Field Description private static TemporalAdjusterADJUSTERprivate Configurationconfigprivate UniqueDatabaseDATABASEprivate static PathDB_HISTORY_PATH-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description MySqlConnectorRegressionIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach()private voidassertTimestamp(String c4)voidbeforeEach()voidshouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot()voidshouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshotAndConnectTimesTypes()voidshouldConsumeAllEventsFromDatabaseUsingSnapshot()voidshouldConsumeAllEventsFromDecimalTableInDatabaseUsingBinlogAndNoSnapshot()voidshouldConsumeDatesCorrectlyWhenClientTimezonePrecedesServerTimezoneUsingSnapshot()voidshouldConsumeDecimalAsStringFromBinlog()voidshouldConsumeDecimalAsStringFromSnapshot()private 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, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords
-
-
-
-
Field Detail
-
DB_HISTORY_PATH
private static final Path DB_HISTORY_PATH
-
DATABASE
private final UniqueDatabase DATABASE
-
ADJUSTER
private static final TemporalAdjuster ADJUSTER
-
config
private Configuration config
-
-
Method Detail
-
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
private void assertTimestamp(String c4)
-
-