[
https://issues.apache.org/jira/browse/CAMEL-24387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-24387.
---------------------------------
Fix Version/s: 4.23.0
Resolution: Fixed
> Add createSingletonService() to test-infra and migrate tests to singletons
> --------------------------------------------------------------------------
>
> Key: CAMEL-24387
> URL: https://issues.apache.org/jira/browse/CAMEL-24387
> Project: Camel
> Issue Type: Improvement
> Components: camel-test
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.23.0
>
>
> Add a createSingletonService() method to all 32 test-infra service factories,
> returning a JVM-wide singleton backed by SingletonService with lazy
> initialization (holder idiom) and JVM shutdown hook cleanup.
> Migrate all integration test classes from createService() to
> createSingletonService(). This ensures each Testcontainers service is started
> only once per JVM, enabling parallel test execution via mvnd without
> container conflicts.
> PR: https://github.com/apache/camel/pull/22294
--
This message was sent by Atlassian Jira
(v8.20.10#820010)