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

   `main` fails `GoogleCloudIT` on 
`google-storage-sink-storage-class-route-test` (for example run 44841929211, 
after #3307):
   
   ```
   Values not equal for header element 'X-Content-Type', expected 'ct=' but was 
'ct=application/octet-stream'
   ```
   
   Two PRs that merged one after the other: #3285 added the test while 
`google-storage-sink` had no input data type, and #3307 then gave it the 
`binary` default, which sets `Content-Type: application/octet-stream`. Each PR 
was green on its own.
   
   The fix, in the test only:
   - expect `ct=application/octet-stream`, as `google-storage-sink-route-test` 
does;
   - remove `Content-Type` before the HTTP call to the test server, as that 
test also does, since Citrus 5.2 reads an `application/octet-stream` body as 
bytes and compares `[111, 114, ...]` (citrusframework/citrus#2081).
   
   Tested locally: `GoogleCloudIT` 7/7 pass.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDmBDsSWV117kccuNf9
   


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