davsclaus commented on code in PR #26988:
URL: https://github.com/apache/camel/pull/26988#discussion_r4134214096
##########
components/camel-kafka/src/test/java/org/apache/camel/component/kafka/KafkaConfigurationTest.java:
##########
@@ -90,4 +95,13 @@ void sendBufferBytesAppliedToConsumerWithoutSsl() {
Properties props = config.createConsumerProperties();
assertEquals(131072, props.get(ConsumerConfig.SEND_BUFFER_CONFIG));
}
+
+ @Test
+ void byDurationAutoOffsetResetPassesCatalogValidation() throws Exception {
+ RuntimeCamelCatalog catalog = new DefaultRuntimeCamelCatalog();
+ catalog.setCamelContext(new DefaultCamelContext());
Review Comment:
Nit (optional): this `DefaultCamelContext` is never closed. `CamelContext`
is `AutoCloseable`, so a try-with-resources around it would keep the test tidy.
--
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]