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
commit ec219d8aeb68e8d503c1eb168b67bd7328845219 Author: Clebert Suconic <[email protected]> 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"));
