Interface DB2TestCases
-
- All Superinterfaces:
Assertions,ConnectorRuntimeFixture,DatabaseRuntimeFixture<io.debezium.testing.system.tools.databases.SqlDatabaseController>,KafkaRuntimeFixture,RegistryRuntimeFixture,TestRuntimeFixture<io.debezium.testing.system.tools.databases.SqlDatabaseController>
- All Known Implementing Classes:
DockerRhelDB2ConnectorIT,OcpAvroDB2ConnectorIT,OcpDB2ConnectorIT
public interface DB2TestCases extends TestRuntimeFixture<io.debezium.testing.system.tools.databases.SqlDatabaseController>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidinsertCustomer(String firstName, String lastName, String email)default voidshouldBeDown()default voidshouldBeDownAfterCrash()default voidshouldContainRecordsInCustomersTopic()default voidshouldCreateKafkaTopics()default voidshouldHaveRegisteredConnector()default voidshouldResumeStreamingAfterCrash()default voidshouldResumeStreamingAfterRedeployment()default voidshouldStreamChanges()-
Methods inherited from interface io.debezium.testing.system.fixtures.Assertions
assertions
-
Methods inherited from interface io.debezium.testing.system.fixtures.connectors.ConnectorRuntimeFixture
getConnectorConfig, setConnectorConfig
-
Methods inherited from interface io.debezium.testing.system.fixtures.databases.DatabaseRuntimeFixture
getDbController, setDbController
-
Methods inherited from interface io.debezium.testing.system.fixtures.kafka.KafkaRuntimeFixture
getConnectorMetrics, getKafkaConnectController, getKafkaController, setKafkaConnectController, setKafkaController
-
Methods inherited from interface io.debezium.testing.system.fixtures.registry.RegistryRuntimeFixture
getRegistryController, setRegistryController
-
-
-
-
Method Detail
-
insertCustomer
default void insertCustomer(String firstName, String lastName, String email) throws SQLException
- Throws:
SQLException
-
shouldHaveRegisteredConnector
@Test @Order(1) default void shouldHaveRegisteredConnector()
-
shouldCreateKafkaTopics
@Test @Order(2) default void shouldCreateKafkaTopics()
-
shouldContainRecordsInCustomersTopic
@Test @Order(3) default void shouldContainRecordsInCustomersTopic() throws IOException- Throws:
IOException
-
shouldStreamChanges
@Test @Order(4) default void shouldStreamChanges() throws SQLException- Throws:
SQLException
-
shouldBeDown
@Test @Order(5) default void shouldBeDown() throws SQLException, IOException- Throws:
SQLExceptionIOException
-
shouldResumeStreamingAfterRedeployment
@Test @Order(6) default void shouldResumeStreamingAfterRedeployment() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
shouldBeDownAfterCrash
@Test @Order(7) default void shouldBeDownAfterCrash() throws SQLException- Throws:
SQLException
-
shouldResumeStreamingAfterCrash
@Test @Order(8) default void shouldResumeStreamingAfterCrash() throws InterruptedException- Throws:
InterruptedException
-
-