davsclaus commented on code in PR #30548:
URL: https://github.com/apache/camel/pull/30548#discussion_r4651813395


##########
components/camel-azure/camel-azure-cosmosdb/src/test/java/org/apache/camel/component/azure/cosmosdb/integration/CosmosDbProducerIT.java:
##########
@@ -366,6 +366,46 @@ void testCreateUpsertReplaceAndDeleteItem() throws 
InterruptedException {
                 .readAllItems(new PartitionKey("test-1"), 
Object.class).collectList().block().size());
     }
 
+    @Test
+    void testCreateItemWithCreateIfNotExistsEndpointOptions() throws 
InterruptedException {

Review Comment:
   Non-blocking: this IT needs a Cosmos DB emulator or a real account, so it 
may not run in the regular build. A small unit test of 
`CosmosDbConfigurationOptionsProxy` would keep the regression covered without 
Azure, e.g. an exchange with no headers and `createDatabaseIfNotExists=true` on 
the configuration returns `true`, and a header set to `false` still overrides 
it. Happy to see that here or in a follow-up.



-- 
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]

Reply via email to