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/06/07 05:36:24 UTC

[camel] branch main updated (a5df7b32883 -> 9d0108757c4)

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

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


    from a5df7b32883 Fix typo in sql-component.adoc leveldb.adoc
     new dd18711c759 (chores) camel-test-infra-artemis: prevent blocking the tests on disk full
     new 9d0108757c4 (chores) camel-test-infra-artemis: increase the maximum disk usage accepted

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../camel/test/infra/artemis/services/ArtemisPersistentVMService.java  | 3 +++
 1 file changed, 3 insertions(+)


[camel] 02/02: (chores) camel-test-infra-artemis: increase the maximum disk usage accepted

Posted by or...@apache.org.
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

commit 9d0108757c4f6c27817dd0ce4a07ad93abcff511
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jun 6 17:26:59 2023 +0200

    (chores) camel-test-infra-artemis: increase the maximum disk usage accepted
---
 .../camel/test/infra/artemis/services/ArtemisPersistentVMService.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
index c042f56c255..e329966889c 100644
--- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
+++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
@@ -35,7 +35,7 @@ public class ArtemisPersistentVMService extends AbstractArtemisEmbeddedService {
 
         configuration.setPersistenceEnabled(true);
         configuration.setJournalType(JournalType.NIO);
-
+        configuration.setMaxDiskUsage(98);
 
         try {
             configuration.addAcceptorConfiguration("in-vm", brokerURL);


[camel] 01/02: (chores) camel-test-infra-artemis: prevent blocking the tests on disk full

Posted by or...@apache.org.
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

commit dd18711c75992f6d8e279c1a260c1f5b56ff2739
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jun 6 17:24:08 2023 +0200

    (chores) camel-test-infra-artemis: prevent blocking the tests on disk full
---
 .../camel/test/infra/artemis/services/ArtemisPersistentVMService.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
index db0bbd36a2b..c042f56c255 100644
--- a/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
+++ b/test-infra/camel-test-infra-artemis/src/test/java/org/apache/camel/test/infra/artemis/services/ArtemisPersistentVMService.java
@@ -19,6 +19,7 @@ package org.apache.camel.test.infra.artemis.services;
 import org.apache.activemq.artemis.api.core.SimpleString;
 import org.apache.activemq.artemis.core.config.Configuration;
 import org.apache.activemq.artemis.core.server.JournalType;
+import org.apache.activemq.artemis.core.settings.impl.AddressFullMessagePolicy;
 import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
 
 import static org.junit.jupiter.api.Assertions.fail;
@@ -35,6 +36,7 @@ public class ArtemisPersistentVMService extends AbstractArtemisEmbeddedService {
         configuration.setPersistenceEnabled(true);
         configuration.setJournalType(JournalType.NIO);
 
+
         try {
             configuration.addAcceptorConfiguration("in-vm", brokerURL);
         } catch (Exception e) {
@@ -43,6 +45,7 @@ public class ArtemisPersistentVMService extends AbstractArtemisEmbeddedService {
         }
         configuration.addAddressSetting("#",
                 new AddressSettings()
+                        .setAddressFullMessagePolicy(AddressFullMessagePolicy.FAIL)
                         .setDeadLetterAddress(SimpleString.toSimpleString("DLQ"))
                         .setExpiryAddress(SimpleString.toSimpleString("ExpiryQueue")));