Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.16.0
-
None
-
Unknown
-
Regression, Unit Test Broken
Description
While working on CAMEL-17945, I realized that the tests with the scope PER_CLASS leveraging the MockEndpoint to define their assertions can fail randomly because of a race condition issue. Indeed, with the current code, a message of a previous test method can potentially call the method countDown on the latch of the following test method causing unexpected behavior.
Attachments
Issue Links
- is required by
-
CAMEL-17945 Fix the unstable test HazelcastSedaTransferExchangeTest
- Resolved
- relates to
-
CAMEL-17955 camel-mock - A few tests are failing since the recent mock change
- Resolved
- links to