Package io.debezium.connector.mysql.zzz
Class ZZZGtidSetIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.mysql.zzz.ZZZGtidSetIT
-
- All Implemented Interfaces:
Testing
public class ZZZGtidSetIT extends AbstractConnectorTest
The test is named to make sure it runs alphabetically last as it can influence execution of for exampleBinlogReaderIT- Author:
- Jiri Pechanec
-
-
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 Configurationconfigprivate UniqueDatabaseDATABASEprivate static PathDB_HISTORY_PATHprivate UniqueDatabaseRO_DATABASE-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description ZZZGtidSetIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach()voidbeforeEach()private booleanisGtidModeEnabled()private voidpurgeDatabaseLogs()voidshouldProcessPurgedGtidSet()voidshouldProcessPurgedLogsWhenDownAndSnapshotNeeded()-
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
-
RO_DATABASE
private final UniqueDatabase RO_DATABASE
-
config
private Configuration config
-
-
Method Detail
-
beforeEach
public void beforeEach()
-
afterEach
public void afterEach()
-
isGtidModeEnabled
private boolean isGtidModeEnabled() throws SQLException- Throws:
SQLException
-
shouldProcessPurgedGtidSet
@FixFor("DBZ-1184") public void shouldProcessPurgedGtidSet() throws SQLException, InterruptedException
- Throws:
SQLExceptionInterruptedException
-
purgeDatabaseLogs
private void purgeDatabaseLogs() throws SQLException- Throws:
SQLException
-
shouldProcessPurgedLogsWhenDownAndSnapshotNeeded
@FixFor("DBZ-1244") public void shouldProcessPurgedLogsWhenDownAndSnapshotNeeded() throws SQLException, InterruptedException
- Throws:
SQLExceptionInterruptedException
-
-