public class MySqlSchemaMigrationIT extends AbstractConnectorTest
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private Configuration |
config |
private UniqueDatabase |
DATABASE |
private static Path |
DB_HISTORY_PATH |
engine, logger, logTestName, NO_MONITORED_TABLES_WARNING, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
MySqlSchemaMigrationIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
void |
shouldCorrectlyMigrateTable() |
void |
shouldProcessAndWarnOnNonWhitelistedMigrateTable() |
void |
shouldWarnOnInvalidMigrateTable() |
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, 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, timeprivate static final Path DB_HISTORY_PATH
private UniqueDatabase DATABASE
private Configuration config
public void beforeEach()
public void afterEach()
public void shouldCorrectlyMigrateTable()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldProcessAndWarnOnNonWhitelistedMigrateTable()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldWarnOnInvalidMigrateTable()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.