[ 
https://issues.apache.org/jira/browse/CAMEL-25732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-25732 started by shashank.
----------------------------------------
> camel-docker - events consumer: test a failing exec() when subscribing again, 
> and log the throwable at DEBUG when the stream never opened
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-25732
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25732
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-docker
>            Reporter: shashank
>            Assignee: shashank
>            Priority: Minor
>
> Follow-up of CAMEL-25680 (agreed in the review of 
> https://github.com/apache/camel/pull/27919).
> # Test: {{DockerEventsConsumer}} subscribes again after the events stream 
> ends. A test with a mocked {{exec()}} that throws on one attempt and succeeds 
> on the next should check that the consumer keeps subscribing (no test covers 
> the throwing {{exec()}} path today).
> # Logging: when the stream fails before it was opened, {{onError}} logs one 
> WARN line without the stack trace (intended, so a daemon that is down does 
> not print a stack trace for every retry). For diagnosis, the throwable should 
> also be logged at DEBUG, as on the other error path.
> _Filed with Claude Code on behalf of allthingssecurity._



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

Reply via email to