davsclaus opened a new pull request, #28726: URL: https://github.com/apache/camel/pull/28726
_Claude Code on behalf of davsclaus_ Follow-up of #28688 for [CAMEL-24727](https://issues.apache.org/jira/browse/CAMEL-24727). `ExportApiTest.repeatedExportsReleaseTheirSilentRuns` checks that the 20 exports leave no thread behind. Its `await()` for the released `CamelContext`s runs on Awaitility's own `awaitility-thread`, which can still be alive when the thread check runs right after. Then the check counts it as leaked. This happened on the CI of #28696, where the test passed only on the retry: ``` Expecting all elements of: [...] to satisfy given requirements, but these elements did not: Thread[#179,awaitility-thread,5,] ``` ## Changes - The thread check ignores threads whose name starts with `awaitility`. Every other new thread still fails the test. ## Tests - `ExportApiTest` passes locally. 🤖 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]
