This is an automated email from the ASF dual-hosted git repository. fmariani pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 877b9728e7a52e21d97151cc0a44854fb8f2762d Author: Croway <[email protected]> AuthorDate: Thu Feb 5 15:43:06 2026 +0100 reuse couchbase container in tests to speedup the execution --- components/camel-couchbase/pom.xml | 7 +++++++ .../couchbase/integration/CouchbaseIntegrationTestBase.java | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/camel-couchbase/pom.xml b/components/camel-couchbase/pom.xml index 35f487d73057..79c963dc43d2 100644 --- a/components/camel-couchbase/pom.xml +++ b/components/camel-couchbase/pom.xml @@ -89,10 +89,16 @@ <reuseForks>true</reuseForks> </configuration> <executions> + <!-- Disable inherited default execution --> + <execution> + <id>default</id> + <phase>none</phase> + </execution> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> + <goal>verify</goal> </goals> <configuration> <forkCount>1</forkCount> @@ -104,6 +110,7 @@ <id>couchbase-7</id> <goals> <goal>integration-test</goal> + <goal>verify</goal> </goals> <configuration> <groups>couchbase-7</groups> diff --git a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/CouchbaseIntegrationTestBase.java b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/CouchbaseIntegrationTestBase.java index 257f9c5821b8..d3ed4b69032b 100644 --- a/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/CouchbaseIntegrationTestBase.java +++ b/components/camel-couchbase/src/test/java/org/apache/camel/component/couchbase/integration/CouchbaseIntegrationTestBase.java @@ -37,7 +37,7 @@ import org.junit.jupiter.api.extension.RegisterExtension; public class CouchbaseIntegrationTestBase extends CamelTestSupport { @RegisterExtension - public static CouchbaseService service = CouchbaseServiceFactory.createService(); + public static CouchbaseService service = CouchbaseServiceFactory.createSingletonService(); protected static String bucketName; protected static Cluster cluster;
