[
https://issues.apache.org/jira/browse/CAMEL-23430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078627#comment-18078627
]
Aurélien Pupier commented on CAMEL-23430:
-----------------------------------------
{noformat}
[camel-kafka] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 30.17 s <<< FAILURE! -- in
org.apache.camel.component.kafka.integration.KafkaConsumerAutoInstResumeRouteStrategyIT
[camel-kafka] [ERROR]
org.apache.camel.component.kafka.integration.KafkaConsumerAutoInstResumeRouteStrategyIT.testOffsetIsBeingChecked
-- Time elapsed: 20.16 s <<< FAILURE!
java.lang.AssertionError: mock://result Received message count. Expected: <10>
but was: <0>
at
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
at
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2010)
at
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:498)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:476)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:466)
at
org.apache.camel.component.kafka.integration.KafkaConsumerAutoInstResumeRouteStrategyIT.testOffsetIsBeingChecked(KafkaConsumerAutoInstResumeRouteStrategyIT.java:70)
{noformat}
> Flaky tests in camel-kafka: KafkaConsumerAutoInstResumeRouteStrategyIT and
> KafkaIdempotentRepositoryEagerIT
> -----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-23430
> URL: https://issues.apache.org/jira/browse/CAMEL-23430
> Project: Camel
> Issue Type: Test
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Labels: test-flaky
>
> Two tests in camel-kafka are flaky on CI:
> *1. KafkaConsumerAutoInstResumeRouteStrategyIT.testOffsetIsBeingChecked*
> {noformat}
> mock://result Received message count. Expected: <10> but was: <0>
> {noformat}
> Passed on rerun (Run 2).
> *2. KafkaIdempotentRepositoryEagerIT.createRepositoryTopic*
> {noformat}
> Exception while creating Kafka topic
> {noformat}
> Passed on rerun (Run 3 — needed 2 retries).
> Both are likely related to Kafka testcontainer startup timing — the broker
> may not be fully ready when the test begins consuming or creating topics.
> *Observed in:* [GitHub Actions run
> 25376798626|https://github.com/apache/camel/actions/runs/25376798626/job/74413951438]
> (PR #22957, JDK 17)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)