You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/08/07 17:26:00 UTC

[camel] branch main updated: (chores) camel-arangodb: do not use fixed addresses in tests

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 9b902895330 (chores) camel-arangodb: do not use fixed addresses in tests
9b902895330 is described below

commit 9b90289533030327e6b7aedc8036b9e45be1ddd0
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Aug 7 18:17:36 2023 +0200

    (chores) camel-arangodb: do not use fixed addresses in tests
---
 .../org/apache/camel/component/arangodb/integration/BaseArangoDb.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-arangodb/src/test/java/org/apache/camel/component/arangodb/integration/BaseArangoDb.java b/components/camel-arangodb/src/test/java/org/apache/camel/component/arangodb/integration/BaseArangoDb.java
index 6959d3fa5c6..074c3be99ca 100644
--- a/components/camel-arangodb/src/test/java/org/apache/camel/component/arangodb/integration/BaseArangoDb.java
+++ b/components/camel-arangodb/src/test/java/org/apache/camel/component/arangodb/integration/BaseArangoDb.java
@@ -60,7 +60,7 @@ public abstract class BaseArangoDb implements ConfigurableRoute, CamelTestSuppor
 
     @ContextFixture
     public void createCamelContext(CamelContext ctx) {
-        arangoDb = new ArangoDB.Builder().host("localhost", 8529).build();
+        arangoDb = new ArangoDB.Builder().host(service.getHost(), service.getPort()).build();
 
         // drop any existing database to start clean
         if (arangoDb.getDatabases().contains(DATABASE_NAME)) {