You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Karen Lease (Jira)" <ji...@apache.org> on 2021/11/08 17:11:00 UTC
[jira] [Created] (CAMEL-17179)
XXXParallelWithAggregationStrategyThrowingExceptionTest often fail
Karen Lease created CAMEL-17179:
-----------------------------------
Summary: XXXParallelWithAggregationStrategyThrowingExceptionTest often fail
Key: CAMEL-17179
URL: https://issues.apache.org/jira/browse/CAMEL-17179
Project: Camel
Issue Type: Sub-task
Components: came-core
Affects Versions: 3.13.0
Reporter: Karen Lease
The unit tests in package org.apache.camel.issues:
- SplitterParallelWithAggregationStrategyThrowingExceptionTest
- MulticastParallelWithAggregationStrategyThrowingExceptionTest
- RecipientListParallelWithAggregationStrategyThrowingExceptionTest
often fail even after 3 tries. The tests assume that all threads to send messages have at least been scheduled before aggregate is called for the first time which stops the processing. But under heavy parallel processing, this frequently does not occur, causing the test to fail.
In addition, while examining the code, I found that the multicast option stopOnAggregateException has no effect. Whether or not it is used, an exception thrown in the aggregation strategy is always causes the processing to stop and the error handler to be triggered.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)