GarridoKevin commented on code in PR #10436:
URL: https://github.com/apache/camel/pull/10436#discussion_r1234185185
##########
components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/integration/MongoDbChangeStreamsConsumerIT.java:
##########
@@ -109,6 +109,36 @@ public void filterTest() throws Exception {
@Order(3)
@Test
+ public void updateWithFullDocumentTest() throws Exception {
+ assertEquals(0, mongoCollection.countDocuments());
+ MockEndpoint mock = contextExtension.getMockEndpoint("mock:test");
+ mock.expectedMessageCount(1);
+
+ String consumerRouteId = "updateWithFullDocumentConsumer";
+ context.getRouteController().startRoute(consumerRouteId);
+
+ ObjectId objectId1 = new ObjectId();
+ ObjectId objectId2 = new ObjectId();
+ Executors.newSingleThreadExecutor().submit(() -> {
Review Comment:
I'll change the other tests as well then.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]