Package io.debezium.connector.sqlserver
Class TablesWithoutPrimaryKeyIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.sqlserver.TablesWithoutPrimaryKeyIT
-
- All Implemented Interfaces:
Testing
public class TablesWithoutPrimaryKeyIT extends AbstractConnectorTest
Integration test to verify behaviour of tables that do not have primary key- Author:
- Jiri Pechanec (jpechane@redhat.com)
-
-
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 io.debezium.connector.sqlserver.SqlServerConnectionconnectionprivate static StringDDL_STATEMENTSprivate static StringDML_STATEMENTS-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description TablesWithoutPrimaryKeyIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()voidbefore()voidshouldProcessFromSnapshot()voidshouldProcessFromStreaming()-
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, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
-
-
-
Field Detail
-
DDL_STATEMENTS
private static final String DDL_STATEMENTS
- See Also:
- Constant Field Values
-
DML_STATEMENTS
private static final String DML_STATEMENTS
- See Also:
- Constant Field Values
-
connection
private io.debezium.connector.sqlserver.SqlServerConnection connection
-
-
Method Detail
-
before
public void before() throws SQLException- Throws:
SQLException
-
after
public void after() throws SQLException- Throws:
SQLException
-
shouldProcessFromSnapshot
public void shouldProcessFromSnapshot() throws Exception- Throws:
Exception
-
-