Claus Ibsen created CAMEL-24387:
-----------------------------------

             Summary: 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


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)

Reply via email to