Class FlushStrategyIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.oracle.logminer.FlushStrategyIT
-
- All Implemented Interfaces:
Testing
public class FlushStrategyIT extends AbstractConnectorTest
- Author:
- Chris Cranford
-
-
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 static io.debezium.connector.oracle.OracleConnectionconnectionorg.junit.rules.TestRuleskipAdapterRuleorg.junit.rules.TestRuleskipOptionRule-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description FlushStrategyIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidassertFlushTableHasExactlyOneRow()voidbefore()static voidbeforeClass()static voidcloseConnection()private voiddropFlushTable()private static StringgetFlushTableName()private voidinsertFlushTable(String scnValue)voidshouldOnlyMaintainOneRowInFlushStrategyTable()-
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, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
-
-
-
Method Detail
-
beforeClass
public static void beforeClass() throws SQLException- Throws:
SQLException
-
closeConnection
public static void closeConnection() throws SQLException- Throws:
SQLException
-
before
public void before() throws SQLException- Throws:
SQLException
-
shouldOnlyMaintainOneRowInFlushStrategyTable
@FixFor("DBZ-4118") public void shouldOnlyMaintainOneRowInFlushStrategyTable() throws Exception
- Throws:
Exception
-
assertFlushTableHasExactlyOneRow
private void assertFlushTableHasExactlyOneRow() throws SQLException- Throws:
SQLException
-
dropFlushTable
private void dropFlushTable() throws SQLException- Throws:
SQLException
-
insertFlushTable
private void insertFlushTable(String scnValue) throws SQLException
- Throws:
SQLException
-
getFlushTableName
private static String getFlushTableName()
-
-