You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@artemis.apache.org by cl...@apache.org on 2026/02/06 17:12:52 UTC
(artemis) branch main updated: NO-JIRA Fixing assert on 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/artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 212fc760f2 NO-JIRA Fixing assert on test
212fc760f2 is described below
commit 212fc760f209d0351ae5acaa2a6f5aa75c391367
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Fri Feb 6 10:54:12 2026 -0500
NO-JIRA Fixing assert on test
---
.../activemq/artemis/tests/soak/brokerConnection/mirror/LogAssert.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/LogAssert.java b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/LogAssert.java
index 6688aa22eb..ad5d75fbd2 100644
--- a/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/LogAssert.java
+++ b/tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/brokerConnection/mirror/LogAssert.java
@@ -20,12 +20,13 @@ package org.apache.activemq.artemis.tests.soak.brokerConnection.mirror;
import java.io.File;
import org.apache.activemq.artemis.utils.FileUtil;
+import org.junit.jupiter.api.Assertions;
public class LogAssert {
public static void assertServerLogsForMirror(File serverLocation) throws Exception {
File log = new File(serverLocation, "log/artemis.log");
- FileUtil.find(log, l -> l.contains("NullPointerException") || l.contains("AMQ111010"));
+ Assertions.assertFalse(FileUtil.find(log, l -> l.contains("NullPointerException") || l.contains("AMQ111010")));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@artemis.apache.org
For additional commands, e-mail: commits-help@artemis.apache.org