Dhairya-007 commented on PR #29543:
URL: https://github.com/apache/camel/pull/29543#issuecomment-6763524595

   Thanks @gnodet — added in 577e32c.
   
   `assertNull` on `TASK_PROGRESS` in both status tests, plus 
`TASK_ERROR_MESSAGE` in the in-progress one, which was also unasserted. That 
covers all five headers in both cases.
   
   Worth noting why the assertion is `assertNull` in both: the producer sets 
the header only when `status.getProgress() != null`, and no `ConversionStatus` 
any current path builds carries a progress value — `checkConversionStatus` uses 
the two-arg constructor for the server-reported states and passes `null` for 
progress in the five-arg calls. So the header is declared for the value 
docling-serve can report, and the tests now pin that the component does not 
invent one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to