[ 
https://issues.apache.org/jira/browse/CAMEL-17000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424985#comment-17424985
 ] 

Karen Lease commented on CAMEL-17000:
-------------------------------------

I've had a look at this. The errors  and also increased number of "flakes" are 
due to the parallel execution. It's not clear exactly what changed, but I've 
found a way to set a custom parallelization strategy on Junit5 which at least 
gets rid of the errors. I've also analyzed a lot of the cases causing flakiness 
in the tests and found a root causes for some of them, for example, setting the 
 System property CamelSedaPollTimeout to 10 for tests using seda consumer isn't 
always working since a test running in parallel unsets it when it finishes, so 
that some tests end up running with the default 1s timeout which can cause 
failures, especially related to suspending & restarting.

> Upgrade to junit 5.8.x
> ----------------------
>
>                 Key: CAMEL-17000
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17000
>             Project: Camel
>          Issue Type: Dependency upgrade
>          Components: tests
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.13.0
>
>
> The 5.8.x upgrade causes some tests in core to fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to