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

   https://issues.apache.org/jira/browse/CAMEL-27578
   
   ### Problem
   The nightly Windows build (`alternative-os-build-main.yml`) has failed on 
windows-latest and windows-2025 for weeks. `CamelExeBootstrapTest` in 
`tooling/camel-exe` is `@EnabledOnOs(WINDOWS)`, and every test asserts that 
`target/camel-x64.exe` exists. Only the `build-native-exe` profile 
(`-Dcamel.exe.build=true`) builds that exe, so every Windows build without it 
fails all 7 tests. `tooling/camel-exe` builds early, so the rest of the build 
was not checked on Windows.
   
   ### Change
   - The test also needs `-Dcamel.exe.test=true` (`@EnabledIfSystemProperty`). 
The module defaults the property to `false` and passes it to surefire.
   - The Windows smoke test of `camel-launcher-native-exe.yml` downloads the 
built exe into `target` and now runs the test with `-Dcamel.exe.test=true`. 
There it still fails loudly when the exe is missing, as intended.
   
   ### Tests
   - `mvn -o test` in `tooling/camel-exe`: 7 skipped (macOS).
   - The effective pom passes `camel.exe.test=true` to surefire when it is set 
on the command line.
   - Not run on Windows locally. The `camel-launcher-native-exe.yml` workflow 
runs on this PR, since it changes `tooling/camel-exe/**`.
   
   _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