[ https://issues.apache.org/jira/browse/CAMEL-20680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842487#comment-17842487 ]
JV Singh commented on CAMEL-20680: ---------------------------------- Turns out, the timeout failures with these tests are quite random. In my case, this particular test succeeded {code:java} [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.03 s -- in org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorReplayOldMessagesIT [INFO] Running org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorSeekIssueIT [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 457.6 s -- in org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorSeekIssueIT{code} but a few other random ones failed with a similar error: {code:java} [INFO] Running org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 38.90 s <<< FAILURE! -- in org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT [ERROR] org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT.kafkaBreakOnFirstErrorBasicCapability -- Time elapsed: 5.010 s <<< ERROR! org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in org.apache.camel.component.kafka.integration.KafkaBreakOnFirstErrorWithBatchUsingAsyncCommitManagerIT was not fulfilled within 3 seconds.{code} I think it is quite likely for the elapsed times of these tests to vary based on CI / build server spec, network speed etc. > camel-kafka: reduce KafkaBreakOnFirstErrorSeekIssueIT test duration > ------------------------------------------------------------------- > > Key: CAMEL-20680 > URL: https://issues.apache.org/jira/browse/CAMEL-20680 > Project: Camel > Issue Type: Task > Components: camel-kafka > Affects Versions: 4.4.1, 4.5.0 > Reporter: Otavio Rodolfo Piske > Priority: Major > Labels: help-wanted > Fix For: 4.x > > > The test KafkaBreakOnFirstErrorSeekIssueIT takes a very long time to run. > This consumes unnecessary resources from ASF CI. We should investigate how to > improve it to it runs quickly. -- This message was sent by Atlassian Jira (v8.20.10#820010)