You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Bharath Vissapragada (Jira)" <ji...@apache.org> on 2023/01/09 06:15:00 UTC

[jira] [Commented] (CAMEL-18620) Add redpanda container to test-infra

    [ https://issues.apache.org/jira/browse/CAMEL-18620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17655924#comment-17655924 ] 

Bharath Vissapragada commented on CAMEL-18620:
----------------------------------------------

[~Federico Mariani]/[~orpiske] With my [last patch|https://github.com/apache/camel/pull/9013], we are down to one failure.

{noformat}
[ERROR] org.apache.camel.component.kafka.integration.KafkaConsumerFullIT.kafkaMessageIsConsumedByCamel  Time elapsed: 10.214 s  <<< FAILURE!
java.lang.AssertionError: mock://result Received message count. Expected: <5> but was: <4>
{noformat}

That _seems_ like a test setup issue. The test passes when run alone (without other tests in the same class) or if I comment out the previous test `kafkaRecordSpecificHeadersAreNotOverwritten` in the class or if each test works on its own topic.
It appears that there is some shared state across the tests in that file (a common consumer group and a fetcher I believe) that are probably interfering with each other across test runs. If you think otherwise, let me know, happy to answer any Redpanda specific questions or dig further.

> Add redpanda container to test-infra
> ------------------------------------
>
>                 Key: CAMEL-18620
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18620
>             Project: Camel
>          Issue Type: Test
>          Components: camel-kafka, tests
>            Reporter: Federico Mariani
>            Priority: Minor
>             Fix For: 3.21.0
>
>
> Add a new mapping in the KafkaServiceFactory with a Redpanda service



--
This message was sent by Atlassian Jira
(v8.20.10#820010)