You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2024/07/17 16:03:54 UTC

(activemq-artemis) branch main updated: ARTEMIS-4925 adding missing assertion on the test

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

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 58f9e00874 ARTEMIS-4925 adding missing assertion on the test
58f9e00874 is described below

commit 58f9e00874556a195f23f9f88b0b0470659f0434
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Jul 17 12:02:41 2024 -0400

    ARTEMIS-4925 adding missing assertion on the test
---
 .../soak/brokerConnection/mirror/ReplicatedBothNodesMirrorTest.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/ReplicatedBothNodesMirrorTest.java b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/ReplicatedBothNodesMirrorTest.java
index 083a393357..93b9310848 100644
--- a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/ReplicatedBothNodesMirrorTest.java
+++ b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/ReplicatedBothNodesMirrorTest.java
@@ -378,6 +378,7 @@ public class ReplicatedBothNodesMirrorTest extends SoakTestBase {
       // lsof is showing a file descriptor associated with multiple threads. So it is expected to have quite a few repetitions
       // when the issue is happening we would have around 40k, 50k entries or a lot more if you add more messages.
       Assertions.assertTrue(openFiles < 2500, () -> "There was " + openFiles + " open files");
+      Assertions.assertEquals(0, errors.get(), "There are errors on the senders");
 
    }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact