Guillaume Nodet created CAMEL-23430:
---------------------------------------

             Summary: Flaky tests in camel-kafka: 
KafkaConsumerAutoInstResumeRouteStrategyIT and KafkaIdempotentRepositoryEagerIT
                 Key: CAMEL-23430
                 URL: https://issues.apache.org/jira/browse/CAMEL-23430
             Project: Camel
          Issue Type: Bug
            Reporter: Guillaume Nodet


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)

Reply via email to