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

   ## Summary
   
   Fixes two broken integration tests in `camel-jbang-it`:
   
   ### CAMEL-27770: VersionCommandITCase
   
   `versionCommandTest()` and `executeAfterVersionSetTest()` both called `camel 
version set 3.20.2`, but `VersionSet.java` now rejects Camel 3.x with:
   ```
   ERROR: Camel version 3.20.2 is not supported: the Camel CLI runs Camel 4.0 
or newer.
   ```
   
   Fix: replace `3.20.2` with `4.0.0` (the first supported GA 4.x release, 
already used in `RunCommandITCase.runSpecificVersionTest`).
   
   ### CAMEL-27768: WrapperITCase
   
   `testWrapper()` asserted that `ls /tmp/wrapper-test` output contains 
`"camelw"`, but `WrapperCommand.commandName` defaults to `"camel"` since 
CAMEL-23438, so the generated files are `camel` and `camel.cmd`.
   
   Fix: assert `.contains("camel")` and `.contains("camel.cmd")` to match what 
`WrapperCommand` actually generates.
   
   _Note: This PR was created by an AI coding agent on behalf of gnodet and 
requires manual verification._


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