public class MysqlDefaultValueIT 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 |
private static int |
EVENT_COUNT |
engine, logger, logTestName, NO_MONITORED_TABLES_WARNING, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
MysqlDefaultValueIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
private void |
assertEmptyFieldValue(org.apache.kafka.connect.source.SourceRecord record,
String fieldName) |
void |
beforeEach() |
void |
booleanTest() |
void |
columnTypeAndDefaultValueChange() |
void |
columnTypeChangeResetsDefaultValue() |
void |
dateAndTimeTest() |
void |
floatAndDoubleTest() |
void |
generatedValueTest() |
void |
numberTest() |
void |
numericAndDecimalToDecimalTest() |
void |
numericAndDecimalToDoubleTest() |
void |
realTest() |
void |
stringTest() |
void |
timeTypeWithConnectMode() |
void |
tinyIntBooleanTest() |
void |
unsignedBigIntToBigDecimalTest() |
void |
unsignedBigIntToLongTest() |
void |
unsignedBitTest() |
void |
unsignedIntTest() |
void |
unsignedMediumIntTest() |
void |
unsignedSmallIntTest() |
void |
unsignedTinyIntTest() |
assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, 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 int EVENT_COUNT
private static final Path DB_HISTORY_PATH
private final UniqueDatabase DATABASE
private Configuration config
public void beforeEach()
public void afterEach()
public void unsignedTinyIntTest()
throws InterruptedException
InterruptedExceptionpublic void unsignedSmallIntTest()
throws InterruptedException
InterruptedExceptionprivate void assertEmptyFieldValue(org.apache.kafka.connect.source.SourceRecord record,
String fieldName)
public void unsignedMediumIntTest()
throws InterruptedException
InterruptedExceptionpublic void unsignedIntTest()
throws InterruptedException
InterruptedExceptionpublic void unsignedBigIntToLongTest()
throws InterruptedException
InterruptedExceptionpublic void unsignedBigIntToBigDecimalTest()
throws InterruptedException
InterruptedExceptionpublic void stringTest()
throws InterruptedException
InterruptedExceptionpublic void unsignedBitTest()
throws InterruptedException
InterruptedExceptionpublic void booleanTest()
throws InterruptedException
InterruptedExceptionpublic void numberTest()
throws InterruptedException
InterruptedExceptionpublic void floatAndDoubleTest()
throws InterruptedException
InterruptedExceptionpublic void realTest()
throws InterruptedException
InterruptedExceptionpublic void numericAndDecimalToDoubleTest()
throws InterruptedException
InterruptedExceptionpublic void numericAndDecimalToDecimalTest()
throws InterruptedException
InterruptedExceptionpublic void dateAndTimeTest()
throws InterruptedException
InterruptedException@FixFor(value="DBZ-771") public void columnTypeAndDefaultValueChange() throws Exception
Exception@FixFor(value={"DBZ-771","DBZ-1321"}) public void columnTypeChangeResetsDefaultValue() throws Exception
Exception@FixFor(value="DBZ-1123") public void generatedValueTest() throws InterruptedException
InterruptedExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.