Package io.debezium.connector.binlog.zzz
Class ZZZBinlogGtidSetIT<C extends org.apache.kafka.connect.source.SourceConnector>
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
io.debezium.connector.binlog.AbstractBinlogConnectorIT<C>
io.debezium.connector.binlog.zzz.ZZZBinlogGtidSetIT<C>
- All Implemented Interfaces:
BinlogConnectorTest<C>,Testing
public abstract class ZZZBinlogGtidSetIT<C extends org.apache.kafka.connect.source.SourceConnector>
extends AbstractBinlogConnectorIT<C>
The test is named to make sure it runs alphabetically last as it can influence execution of other tests.
- Author:
- Jiri Pechanec
-
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 final UniqueDatabaseprivate static final Pathorg.junit.rules.TestRuleorg.junit.rules.TestRuleFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetBinlogs(JdbcConnection connection) private booleanprivate voidvoidvoidMethods inherited from class io.debezium.connector.binlog.AbstractBinlogConnectorIT
isMariaDb, isMySQL5, isPerconaServerMethods inherited from class io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
createEngine, createEngineBuilderMethods 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, storeOffsets, validate, waitForAvailableRecords, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNullsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.binlog.BinlogConnectorTest
getConnectorClass, getConnectorName, getTestDatabaseConnection, getTestDatabaseConnection, getTestReplicaDatabaseConnection
-
Field Details
-
SCHEMA_HISTORY_PATH
-
DATABASE
-
RO_DATABASE
-
config
-
skipTest
public org.junit.rules.TestRule skipTest -
skipTest2
public org.junit.rules.TestRule skipTest2
-
-
Constructor Details
-
ZZZBinlogGtidSetIT
public ZZZBinlogGtidSetIT()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
isGtidModeEnabled
- Throws:
SQLException
-
shouldProcessPurgedGtidSet
@FixFor("DBZ-1184") public void shouldProcessPurgedGtidSet() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-
purgeDatabaseLogs
- Throws:
SQLException
-
getBinlogs
- Throws:
SQLException
-
shouldProcessPurgedLogsWhenDownAndSnapshotNeeded
@FixFor("DBZ-1244") public void shouldProcessPurgedLogsWhenDownAndSnapshotNeeded() throws SQLException, InterruptedException- Throws:
SQLExceptionInterruptedException
-