allthingssecurity opened a new pull request, #30860: URL: https://github.com/apache/camel/pull/30860
# Description [CAMEL-27502](https://issues.apache.org/jira/browse/CAMEL-27502) follow-up (test only). `HazelcastSedaTransactedStopTest.exchangeThatCannotBeCreatedDoesNotHoldUpTheStop`, added in #30816, makes the consumer thread fail to create its exchange on purpose, so that thread ends with the simulated `IllegalStateException`. When the thread fails while the test waits in Awaitility, Awaitility reports the uncaught exception of the other thread and fails the test. This happened on CI in the camel-hazelcast module run of #30824 (all three reruns), while it passed locally, where the thread usually failed before the wait started. The wait now uses `dontCatchUncaughtExceptions()`, as the camel-mllp stop tests (`MllpTcpServerConsumerStopTest`) do. The rest of the test is unchanged: it still checks that the stop does not wait for the failed consumer thread. Testing: I could not run the camel-hazelcast module offline here (its `camel-test-spring-junit6` test dependency is not in my local Maven cache), so this is opened as a draft until the CI run of this PR passes. `dontCatchUncaughtExceptions()` is the same Awaitility 4.3.0 API the camel-mllp tests use. # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it): [CAMEL-27502](https://issues.apache.org/jira/browse/CAMEL-27502). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes. (Test-only change; no generated files.) # AI-assisted contributions - [x] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used. This PR was prepared with Claude Code (Claude Opus 5.5). The commit carries a `Co-Authored-By` trailer. _Claude Code on behalf of allthingssecurity_ 🤖 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]
