public class SchemaHistoryTopicIT extends AbstractConnectorTest
The tests should verify the CREATE schema events from snapshot and the CREATE and
the ALTER schema events from streaming
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private io.debezium.connector.sqlserver.SqlServerConnection |
connection |
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
SchemaHistoryTopicIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
void |
schemaChangeAfterSnapshot() |
void |
snapshotSchemaChanges() |
void |
streamingSchemaChanges() |
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, initializeConnectorTestFramework, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, start, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, once, once, print, print, printError, printError, printError, resetBeforeEachTest, time, timepublic void before()
throws SQLException
SQLExceptionpublic void after()
throws SQLException
SQLException@FixFor(value="DBZ-1904") public void streamingSchemaChanges() throws Exception
Exception@FixFor(value="DBZ-1904") public void snapshotSchemaChanges() throws Exception
ExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.