Class OcpMongoTests
java.lang.Object
io.debezium.testing.system.tests.ConnectorTest
io.debezium.testing.system.tests.mongodb.MongoTests
io.debezium.testing.system.tests.mongodb.OcpMongoTests
- Direct Known Subclasses:
OcpMongoConnectorIT
-
Field Summary
Fields inherited from class io.debezium.testing.system.tests.ConnectorTest
assertions, connectController, connectorConfig, kafkaController -
Constructor Summary
ConstructorsConstructorDescriptionOcpMongoTests(io.debezium.testing.system.tools.kafka.KafkaController kafkaController, io.debezium.testing.system.tools.kafka.KafkaConnectController connectController, io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig, KafkaAssertions<?, ?> assertions) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddAndRemoveShardTest(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController, String connectorName) voidshouldStreamInReplicaSetMode(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController) voidshouldStreamInShardedMode(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController) Methods inherited from class io.debezium.testing.system.tests.mongodb.MongoTests
insertCustomer, insertCustomer, insertProduct, removeCustomer, removeProduct, renameCustomer, shouldBeDown, shouldBeDownAfterCrash, shouldCreateKafkaTopics, shouldHaveRegisteredConnector, shouldRerouteUpdates, shouldResumeStreamingAfterCrash, shouldResumeStreamingAfterRedeployment, shouldSnapshotChanges, shouldStreamChanges
-
Constructor Details
-
OcpMongoTests
public OcpMongoTests(io.debezium.testing.system.tools.kafka.KafkaController kafkaController, io.debezium.testing.system.tools.kafka.KafkaConnectController connectController, io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig, KafkaAssertions<?, ?> assertions)
-
-
Method Details
-
addAndRemoveShardTest
private void addAndRemoveShardTest(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController, String connectorName) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
shouldStreamInShardedMode
@Test @Order(100) public void shouldStreamInShardedMode(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
shouldStreamInReplicaSetMode
@Test @Order(110) public void shouldStreamInReplicaSetMode(io.debezium.testing.system.tools.databases.mongodb.OcpMongoShardedController dbController) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-