davsclaus opened a new pull request, #29130:
URL: https://github.com/apache/camel/pull/29130

   `AiResourceExecutorTest.testListBodyWithBinaryMimeTypeIsAConversionError` 
fails on `main` for every PR whose CI reaches `camel-ai-resource`.
   
   The test came with #29033 (CAMEL-26212) and expected a 
`TypeConversionException` as the cause of the conversion error. Later the same 
day #29111 (CAMEL-26509) changed `ArrayTypeConverter` to give no conversion for 
an element that does not fit, instead of throwing. A `List` of strings to 
`byte[]` now takes the `blob == null` path in `AiResourceExecutor.convertBody`, 
so the error has no cause, the same as for a `Map` body. The "Main build" 
stayed green because it does not run these tests.
   
   The fix is in the test only: assert `hasNoCause()` and drop the unused 
import. The error message the test checks is unchanged.
   
   Tested locally: `AiResourceExecutorTest` 9/9 pass against current main.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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