Guillaume Nodet created CAMEL-24023:
---------------------------------------
Summary: Fix flaky XsltFromFileExceptionTest
Key: CAMEL-24023
URL: https://issues.apache.org/jira/browse/CAMEL-24023
Project: Camel
Issue Type: Bug
Components: camel-core
Reporter: Guillaume Nodet
The test XsltFromFileExceptionTest is flaky in CI. According to Develocity, it
has 6 failures out of 254 runs in July 2026.
Root cause: The test calls assertMockEndpointsSatisfied() before
oneExchangeDone.matchesWaitTime(), creating a race condition where the mock
assertion runs before the file consumer has processed the file. Fix: reorder to
wait for exchange completion first, then assert mock endpoints.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)