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)

Reply via email to