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 2022/08/22 14:26:00 UTC
[jira] [Created] (CAMEL-18420) Adapt CamelParallelExecutionStrategy for Junit 5.9.0
Karen Lease created CAMEL-18420:
-----------------------------------
Summary: Adapt CamelParallelExecutionStrategy for Junit 5.9.0
Key: CAMEL-18420
URL: https://issues.apache.org/jira/browse/CAMEL-18420
Project: Camel
Issue Type: Improvement
Components: camel-test
Reporter: Karen Lease
Assignee: Karen Lease
Fix For: 3.19.0
In [Junit 5.9.0|https://junit.org/junit5/docs/5.9.0/release-notes/#new-features-and-improvements] the custom strategy for parallel test execution can specify a "saturated" predicate which is invoked when the maximum pool size is reached and a test is waiting for a thread. Returning true will cause the pool to wait until an existing thread has finished its task instead of throwing an exception. This allows use of a smaller maximum pool size. It also appears that this version of Junit uses fewer threads than the previous version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)