You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/04/15 16:05:07 UTC

[camel-quarkus] branch master updated: Fix AMQP tests hanging in CI environment

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new ef01128  Fix AMQP tests hanging in CI environment
     new d0291d3  Merge pull request #1091 from jamesnetherton/fix-amqp-native-test
ef01128 is described below

commit ef011288efffe0f541191c7b0d4f2cb6363df674
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Apr 15 14:51:03 2020 +0100

    Fix AMQP tests hanging in CI environment
---
 .../apache/camel/quarkus/component/amqp/it/ActiveMQTestResource.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/integration-tests/amqp/src/test/java/org/apache/camel/quarkus/component/amqp/it/ActiveMQTestResource.java b/integration-tests/amqp/src/test/java/org/apache/camel/quarkus/component/amqp/it/ActiveMQTestResource.java
index 52a1697..d0bafef 100644
--- a/integration-tests/amqp/src/test/java/org/apache/camel/quarkus/component/amqp/it/ActiveMQTestResource.java
+++ b/integration-tests/amqp/src/test/java/org/apache/camel/quarkus/component/amqp/it/ActiveMQTestResource.java
@@ -45,6 +45,7 @@ public class ActiveMQTestResource implements QuarkusTestResourceLifecycleManager
             container = new GenericContainer(ACTIVEMQ_IMAGE)
                     .withExposedPorts(AMQP_PORT)
                     .withLogConsumer(new Slf4jLogConsumer(LOGGER))
+                    .withEnv("BROKER_CONFIG_MAX_DISK_USAGE", "100")
                     .waitingFor(Wait.forListeningPort());
 
             container.start();
@@ -68,7 +69,7 @@ public class ActiveMQTestResource implements QuarkusTestResourceLifecycleManager
                 container.stop();
             }
         } catch (Exception e) {
-            e.printStackTrace();
+            // Ignored
         }
     }
 }