[
https://issues.apache.org/jira/browse/ARTEMIS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759053#comment-17759053
]
ASF subversion and git services commented on ARTEMIS-4391:
----------------------------------------------------------
Commit 6d4fad7a4c04f1ba96eb3d4fb3d55f6d86787780 in activemq-artemis's branch
refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=6d4fad7a4c ]
ARTEMIS-4391: fix break in findText from prior changes
Only report finding matching log message if all requested entries are present
in it, not just the last one provided.
Also fix the updated AssertionLoggerHandler usage within
AddressFullLoggingTest, ensure it is active across the full period expected
messages can happen and doesnt miss early ones.
> tests: rework AssertionLoggerHandler
> ------------------------------------
>
> Key: ARTEMIS-4391
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4391
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 2.30.0
> Reporter: Alexey Markevich
> Priority: Major
> Fix For: 2.31.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> AssertionLoggerHandler modified to be easy to use:
> * no custom logger configuration required;
> * implements Closeable to be poosible to use in try-with-resources statement
> * split regular text check and stacktraces
--
This message was sent by Atlassian Jira
(v8.20.10#820010)