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 2022/07/21 15:11:23 UTC

[activemq-artemis] branch new-logging updated: small tweak on test

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

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


The following commit(s) were added to refs/heads/new-logging by this push:
     new 4bb3237330 small tweak on test
4bb3237330 is described below

commit 4bb3237330b2fa2add82e81576398df300127437
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Thu Jul 21 11:11:14 2022 -0400

    small tweak on test
---
 .../org/apache/activemq/artemis/logprocessor/SimpleBundleTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/SimpleBundleTest.java b/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/SimpleBundleTest.java
index 8cc3cc5ddb..7d0a1eadf9 100644
--- a/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/SimpleBundleTest.java
+++ b/artemis-log-processor/src/test/java/org/apache/activemq/artemis/logprocessor/SimpleBundleTest.java
@@ -110,7 +110,7 @@ public class SimpleBundleTest {
       try {
          AssertionLoggerHandler.startCapture(false, false);
          SimpleBundle.MESSAGES.outOfOrder(new MyException("ex1"), "2", "3", "4");
-         Assert.assertFalse("parameter not found", AssertionLoggerHandler.findText("pex1"));
+         Assert.assertFalse("Exception should not be on the output", AssertionLoggerHandler.findText("pex1"));
          Assert.assertTrue("parameter not found", AssertionLoggerHandler.findText("p2"));
          Assert.assertTrue("parameter not found", AssertionLoggerHandler.findText("p3"));
          Assert.assertTrue("parameter not found", AssertionLoggerHandler.findText("p4"));
@@ -120,7 +120,7 @@ public class SimpleBundleTest {
          AssertionLoggerHandler.startCapture(false, true);
 
          SimpleBundle.MESSAGES.outOfOrder(createMyException("ex1"), "2", "3", "4");
-         Assert.assertFalse("parameter not found", AssertionLoggerHandler.findText("pex1"));
+         Assert.assertFalse("Exception should not be on the output", AssertionLoggerHandler.findText("pex1"));
          Assert.assertTrue("parameter not found", AssertionLoggerHandler.findText("p3"));
          Assert.assertTrue("parameter not found", AssertionLoggerHandler.findText("p4"));
          Assert.assertTrue("stack not found", AssertionLoggerHandler.findText("createMyException"));